Merge pull request #11954 from frederic34/patch-18
add missing error code in price parser
This commit is contained in:
commit
59a099b176
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user