Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 3e6d354

Browse files
committed
Merge branch 'hotfix/code128'
Reverts #105
2 parents 98ed71c + cb23008 commit 3e6d354

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Barcode/Code128.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,7 @@ public function hasValidCharacters($value)
180180
break;
181181
}
182182

183-
if (! empty($value) && strlen($value) > 1) {
184-
$value = $strWrapper->substr($value, 1, null);
185-
}
186-
183+
$value = $strWrapper->substr($value, 1, null);
187184
$read = $set;
188185
}
189186

0 commit comments

Comments
 (0)