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

Commit cb23008

Browse files
committed
Revert "Merge pull request #105 from FraGoTe/patch-1"
This reverts commit 1fbb4fd, reversing changes made to 95c9386. The revert was performed as it introduced an infinite loop in the `BarcodeTest::testCODE128()` test case. Conflicts: src/Barcode/Code128.php
1 parent 98ed71c commit cb23008

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)