2
0
forked from Wavyzz/dolibarr

Added missing Slashes

fixed line where two slashes were missing, that caused an error when creating barcodes.
This commit is contained in:
Christian Seiler
2017-04-16 11:09:18 +02:00
committed by GitHub
parent 44302f1aea
commit e23a44bcdf

View File

@@ -1074,7 +1074,7 @@ function check_value($mask,$value)
// If an offset is asked
if (! empty($reg[2]) && preg_match('/^\+/',$reg[2])) $maskoffset=preg_replace('/^\+/','',$reg[2]);
if (! empty($reg[3]) && preg_match('^\+',$reg[3])) $maskoffset=preg_replace('/^\+/','',$reg[3]);
if (! empty($reg[3]) && preg_match('/^\+/',$reg[3])) $maskoffset=preg_replace('/^\+/','',$reg[3]);
// Define $sqlwhere