fix html should not do price2num

This commit is contained in:
Francis Appels 2020-06-29 09:07:54 +02:00
parent 731978fda6
commit 5d65b5f660

View File

@ -2086,11 +2086,15 @@ class ExtraFields
$value_key = '';
}
}
elseif (in_array($key_type, array('price', 'double', 'html')))
elseif (in_array($key_type, array('price', 'double')))
{
$value_arr = GETPOST("options_".$key, 'alpha');
$value_key = price2num($value_arr);
}
elseif (in_array($key_type, array('html')))
{
$value_key = GETPOST("options_".$key, 'alpha');
}
else
{
$value_key = GETPOST("options_".$key);