Merge pull request #14141 from fappels/12_fix_extrafield_html

FIX html lost on html extrafield
This commit is contained in:
Laurent Destailleur 2020-07-03 00:49:31 +02:00 committed by GitHub
commit 03aa4873d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2091,6 +2091,10 @@ class ExtraFields
$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);