Removed setting of LC_NUMERIC, because of problems saving floats to database
This commit is contained in:
@@ -17,9 +17,10 @@ if(defined('MFLOCALE_TIME')) {
|
||||
if(defined('MFLOCALE_MONETARY')) {
|
||||
setlocale(LC_MONETARY, MFLOCALE_MONETARY);
|
||||
}
|
||||
if(defined('MFLOCALE_NUMERIC')) {
|
||||
/* disabled because of issues with saving float values to mysql
|
||||
if(defined('MFLOCALE_NUMERIC')) {
|
||||
setlocale(LC_NUMERIC, MFLOCALE_NUMERIC);
|
||||
}
|
||||
}*/
|
||||
if(defined('MFLOCALE_CTYPE')) {
|
||||
setlocale(LC_CTYPE, MFLOCALE_CTYPE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user