From: Janusz Dobrowolski Date: Sun, 8 Nov 2015 20:50:15 +0000 (+0100) Subject: Fixed bug in price_format() helper leading to problems in various entry forms (e... X-Git-Tag: v2.4.2~19^2~130 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=4e3677feed9f4e4290332a34e6c8b16dfe06863a;p=fa-stable.git Fixed bug in price_format() helper leading to problems in various entry forms (e.g. Supplier/Customer Allocation) --- diff --git a/includes/current_user.inc b/includes/current_user.inc index 9a0cedde..239324c6 100644 --- a/includes/current_user.inc +++ b/includes/current_user.inc @@ -302,7 +302,7 @@ function round2($number, $decimals=0) function number_format2($number, $decimals=0) { global $SysPrefs; - $tsep = $SysPrefs->thoseps[user_dec_sep()]; + $tsep = $SysPrefs->thoseps[user_tho_sep()]; $dsep = $SysPrefs->decseps[user_dec_sep()]; if($decimals==='max')