Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Windows XP (XAMPP Apache) & Linux
Description
In Validator::isValidType():
return (string)$var == strval(floatval($var));
floatval($var) returns only the integer part if the decimal character is anything other than ".".
Therefore this evaluation fails.
I've added a small function 'ParseFloat' which takes locale settings into consideration.
There might be a better solution.
Can you provide the changes as patch?