Add MXN
Add MXN to the array to use currency sing before.
This commit is contained in:
parent
dfc0ab7bfb
commit
101378b856
@ -2954,7 +2954,7 @@ function price($amount, $form=0, $outlangs='', $trunc=1, $rounding=-1, $forcerou
|
||||
{
|
||||
if ($currency_code == 'auto') $currency_code=$conf->currency;
|
||||
|
||||
$listofcurrenciesbefore=array('USD','GBP','AUD');
|
||||
$listofcurrenciesbefore=array('USD','GBP','AUD','MXN');
|
||||
if (in_array($currency_code,$listofcurrenciesbefore)) $cursymbolbefore.=$outlangs->getCurrencySymbol($currency_code);
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user