Merge pull request #11954 from frederic34/patch-18

add missing error code in price parser
This commit is contained in:
Laurent Destailleur 2019-09-27 11:35:42 +02:00 committed by GitHub
commit 59a099b176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ class PriceParser
{
return $langs->trans("ErrorPriceExpression".$code);
}
else if (in_array($code, array(1, 2, 3, 4, 5, 8, 10, 11, 17, 21, 22))) //Errors which have 1 arg
else if (in_array($code, array(1, 2, 3, 4, 5, 8, 10, 11, 17, 21, 22, 24))) //Errors which have 1 arg
{
return $langs->trans("ErrorPriceExpression".$code, $info);
}