forked from Wavyzz/dolibarr
Fix syntax error
This commit is contained in:
@@ -5745,7 +5745,7 @@ function price($amount, $form = 0, $outlangs = '', $trunc = 1, $rounding = -1, $
|
||||
$currency_code = $conf->currency;
|
||||
}
|
||||
|
||||
$listofcurrenciesbefore = array('AUD', 'CAD', 'CNY', 'COP', 'CLP', 'GBP', 'HKD', 'MXN', 'PEN', 'USD', 'CRC);
|
||||
$listofcurrenciesbefore = array('AUD', 'CAD', 'CNY', 'COP', 'CLP', 'GBP', 'HKD', 'MXN', 'PEN', 'USD', 'CRC');
|
||||
$listoflanguagesbefore = array('nl_NL');
|
||||
if (in_array($currency_code, $listofcurrenciesbefore) || in_array($outlangs->defaultlang, $listoflanguagesbefore)) {
|
||||
$cursymbolbefore .= $outlangs->getCurrencySymbol($currency_code);
|
||||
|
||||
Reference in New Issue
Block a user