Fix for formatMoney
This commit is contained in:
parent
d61475eb43
commit
f53fc5d479
1 changed files with 1 additions and 3 deletions
|
|
@ -369,9 +369,7 @@ class Utils
|
|||
|
||||
public static function formatMoney($value, $currencyId = false, $countryId = false, $showCode = false)
|
||||
{
|
||||
if (!$value) {
|
||||
$value = 0;
|
||||
}
|
||||
$value = floatval($value);
|
||||
|
||||
if (!$currencyId) {
|
||||
$currencyId = Session::get(SESSION_CURRENCY, DEFAULT_CURRENCY);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue