From 4e3677feed9f4e4290332a34e6c8b16dfe06863a Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Sun, 8 Nov 2015 21:50:15 +0100 Subject: [PATCH] Fixed bug in price_format() helper leading to problems in various entry forms (e.g. Supplier/Customer Allocation) --- includes/current_user.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.30.2