Update functions.lib.php

This commit is contained in:
Laurent Destailleur 2019-08-01 16:18:26 +02:00 committed by GitHub
parent 4b8963587a
commit 73715f00af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4400,7 +4400,7 @@ function price($amount, $form = 0, $outlangs = '', $trunc = 1, $rounding = -1, $
{
if ($currency_code == 'auto') $currency_code=$conf->currency;
$listofcurrenciesbefore=array('USD','GBP','AUD','HKD','MXN','PEN','CNY','CAN');
$listofcurrenciesbefore=array('USD','GBP','AUD','HKD','MXN','PEN','CNY','CAD');
$listoflanguagesbefore=array('nl_NL');
if (in_array($currency_code, $listofcurrenciesbefore) || in_array($outlangs->defaultlang, $listoflanguagesbefore))
{