Show number with dot to avoid error when update extrafield

This commit is contained in:
jfefe 2013-03-13 22:01:34 +01:00
parent 277784af25
commit 76efc04840

View File

@ -646,7 +646,7 @@ class ExtraFields
}
elseif ($type == 'price')
{
$out='<input type="text" name="options_'.$key.'" size="6" value="'.price($value).'"> '.$langs->getCurrencySymbol($conf->currency);
$out='<input type="text" name="options_'.$key.'" size="6" value="'.price2num($value).'"> '.$langs->getCurrencySymbol($conf->currency);
}
elseif ($type == 'select')
{