Merge remote-tracking branch 'origin/ticket/r15862-label_refbbb'

This commit is contained in:
Michael RICOIS 2018-03-14 11:57:07 +01:00
commit b5053e443a

View File

@ -371,7 +371,7 @@ class GenerateBarcode
}
// Mark in ref
else {
preg_match('/^[0-9a-zA-Z&]{1,}-([0-9]{1,})-.*/g', $product['ref'], $matches);
preg_match('/^[0-9a-zA-Z&]{1,}-([0-9]{1,})-.*/', $product['ref'], $matches);
$ref = $matches[1];
$this->_printIdMark($pdf, $ref, 1, $width, $height_label, 30);
}