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

Commit

Permalink
Merge branch 'hotfix/105'
Browse files Browse the repository at this point in the history
Close #105
  • Loading branch information
weierophinney committed May 17, 2017
2 parents 95c9386 + 1fbb4fd commit c5899d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Barcode/Code128.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,10 @@ public function hasValidCharacters($value)
break;
}

$value = $strWrapper->substr($value, 1, null);
if (!empty($value) && strlen($value) > 1) {
$value = $strWrapper->substr($value, 1, null);
}

$read = $set;
}

Expand Down

0 comments on commit c5899d3

Please sign in to comment.