Index: branches/RC/core/kernel/db/dbitem.php
===================================================================
diff -u -r9334 -r9520
--- branches/RC/core/kernel/db/dbitem.php (.../dbitem.php) (revision 9334)
+++ branches/RC/core/kernel/db/dbitem.php (.../dbitem.php) (revision 9520)
@@ -528,6 +528,10 @@
isset($params['type']) &&
preg_match("#int|integer|double|float|real|numeric|string#", $params['type'])
) {
+ if ($params['type'] == 'numeric') {
+ trigger_error('Invalid field type '.$params['type'].' (in ValidateType method), please use float instead', E_USER_NOTICE);
+ $params['type'] = 'float';
+ }
$res = is_numeric($val);
if ($params['type']=='string' || $res) {
$f = 'is_'.$params['type'];