Commit 12c0a1db authored by Alexander Butenko's avatar Alexander Butenko

dbObject: Add double as a type

parent 44f3bcf4
......@@ -612,6 +612,9 @@ class dbObject {
case "int":
$regexp = "/^[0-9]*$/";
break;
case "double":
$regexp = "/^[0-9\.]*$/";
break;
case "bool":
$regexp = '/^[yes|no|0|1|true|false]$/i';
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment