Fixed bug in price_format() helper leading to problems in various entry forms (e...
[fa-stable.git] / includes / current_user.inc
index 9a0ceddeec9969d2d0ca75ba82f0b458019895f0..239324c69dd0f304942fbc8980a88da21eb68afe 100644 (file)
@@ -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')