Fixed Some Spaces

This commit is contained in:
devansh bawari 2021-01-08 20:31:04 +05:30
parent 71abe8f4ca
commit e0edd790ec
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ class InvoiceController extends Controller
$p = $arabic->arIdentify($html);
for ($i = count($p)-1; $i >= 0; $i-=2) {
for ($i = count($p)-1; $i >= 0; $i -= 2) {
$utf8ar = $arabic->utf8Glyphs(substr($html, $p[$i-1], $p[$i] - $p[$i-1]));
$html = substr_replace($html, $utf8ar, $p[$i-1], $p[$i] - $p[$i-1]);
}