Fix: wrong function name

This commit is contained in:
Regis Houssin 2014-10-12 19:08:34 +02:00
parent 797ab8a150
commit 104592b349

View File

@ -703,7 +703,7 @@ class Translate
*/ */
function getCurrencyAmount($currency_code, $amount) function getCurrencyAmount($currency_code, $amount)
{ {
$symbol=$this->getCurrencSymbol($currency_code); $symbol=$this->getCurrencySymbol($currency_code);
if (in_array($currency_code, array('USD'))) return $symbol.$amount; if (in_array($currency_code, array('USD'))) return $symbol.$amount;
else return $amount.$symbol; else return $amount.$symbol;