Clean code

This commit is contained in:
Laurent Destailleur
2023-05-01 14:33:08 +02:00
parent fe816445f5
commit e2ec34e1e5
31 changed files with 93 additions and 62 deletions

View File

@@ -257,7 +257,7 @@ function barcode_encode_ean($ean, $encoding = "EAN-13")
if ($a > 0) {
$text .= " ";
}
$text .= "$pos:12:{$ean[$a]}";
$text .= $pos.":12:".$ean[$a];
if ($a == 0) {
$pos += 12;
} elseif ($a == 6) {