From f4fd71d1f99ac1116fc74372736e66d95104776b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 11 Jun 2013 02:05:40 +0200 Subject: [PATCH] Fix: Bad position of currency for USD --- htdocs/core/lib/functions.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 2b461206f2d..e725e5eb089 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -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; }