diff --git a/htdocs/core/class/extrafields.class.php b/htdocs/core/class/extrafields.class.php index 8c5f485de32..146237122ca 100755 --- a/htdocs/core/class/extrafields.class.php +++ b/htdocs/core/class/extrafields.class.php @@ -622,7 +622,7 @@ class ExtraFields $out = $formstat->select_date($value, 'options_'.$key, $showtime, $showtime, $required, '', 1, 1, 1, 0, 1); //$out=''; } - elseif (in_array($type,array('int','double'))) + elseif (in_array($type,array('int'))) { $tmp=explode(',',$size); $newsize=$tmp[0]; @@ -660,6 +660,10 @@ class ExtraFields { $out=' '.$langs->getCurrencySymbol($conf->currency); } + elseif ($type == 'double') + { + $out=' '; + } elseif ($type == 'select') { $out='