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']; Index: branches/RC/themes/default2007/platform/elements/content_boxes/related_items.tpl =================================================================== diff -u -r9445 -r9520 --- branches/RC/themes/default2007/platform/elements/content_boxes/related_items.tpl (.../related_items.tpl) (revision 9445) +++ branches/RC/themes/default2007/platform/elements/content_boxes/related_items.tpl (.../related_items.tpl) (revision 9520) @@ -1,8 +1,7 @@ - - - + + + - \ No newline at end of file Index: branches/RC/core/kernel/utility/formatters/formatter.php =================================================================== diff -u -r8929 -r9520 --- branches/RC/core/kernel/utility/formatters/formatter.php (.../formatter.php) (revision 8929) +++ branches/RC/core/kernel/utility/formatters/formatter.php (.../formatter.php) (revision 9520) @@ -17,6 +17,10 @@ if( isset($options['type']) ) { $field_type = $options['type']; + if ($field_type == 'numeric') { + trigger_error('Invalid field type '.$field_type.' (in TypeCast method), please use float instead', E_USER_NOTICE); + $field_type = 'float'; + } $type_ok = preg_match('#int|integer|double|float|real|numeric|string#', $field_type); if ($field_type == 'string') { if (!$this->Application->IsAdmin() && isset($options['allow_html']) && $options['allow_html']) {