diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/PHPZxing/PHPZxingDecoder.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PHPZxing/PHPZxingDecoder.php b/src/PHPZxing/PHPZxingDecoder.php index cd49207..75a4a5c 100644 --- a/src/PHPZxing/PHPZxingDecoder.php +++ b/src/PHPZxing/PHPZxingDecoder.php @@ -156,7 +156,8 @@ class PHPZxingDecoder extends PHPZxingBase { $imageValue = $output[$key + 2]; - $imagePath = array_shift(explode(" ", $singleLine)); + $exploded = explode(" ", $singleLine); + $imagePath = array_shift($exploded); $image[] = new ZxingImage($imagePath, $imageValue, $format, $type); |