Fix: Bad position of currency for USD

This commit is contained in:
Laurent Destailleur 2013-06-11 02:05:40 +02:00
parent 50ff8ab52e
commit f4fd71d1f9

View File

@ -2683,7 +2683,7 @@ function price($amount, $form=0, $outlangs='', $trunc=1, $rounding=-1, $forcerou
if (in_array($currency_code,$listofcurrenciesbefore)) $cursymbolbefore.=$outlangs->getCurrencySymbol($currency_code);
else $cursymbolafter.=$outlangs->getCurrencySymbol($currency_code);
}
$output.=$cursymbolbefore.$end.$cursymbolafter;
$output=$cursymbolbefore.$output.$end.$cursymbolafter;
return $output;
}