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']) {