mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 15:04:32 -04:00
Fix for formatMoney
This commit is contained in:
parent
d61475eb43
commit
f53fc5d479
@ -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…
x
Reference in New Issue
Block a user