Update price_parser.class.php

This commit is contained in:
Frédéric FRANCE 2019-09-24 10:28:27 +02:00 committed by GitHub
parent 00d5cff00d
commit 26cd418320
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);
}