Merge pull request #2226 from fentman/patch-1

Change to $listofcurrenciesbefore for GBP + AUD
This commit is contained in:
Laurent Destailleur 2015-01-09 22:54:37 +01:00
commit 027c9c4d98

View File

@ -2948,7 +2948,7 @@ function price($amount, $form=0, $outlangs='', $trunc=1, $rounding=-1, $forcerou
{
if ($currency_code == 'auto') $currency_code=$conf->currency;
$listofcurrenciesbefore=array('USD');
$listofcurrenciesbefore=array('USD','GBP','AUD');
if (in_array($currency_code,$listofcurrenciesbefore)) $cursymbolbefore.=$outlangs->getCurrencySymbol($currency_code);
else
{