FIX extrafields price and double were lost during a failed post.
This commit is contained in:
parent
0a5e606937
commit
fdb3a11f34
@ -1779,13 +1779,14 @@ class ExtraFields
|
|||||||
}
|
}
|
||||||
else if (in_array($key_type,array('price','double')))
|
else if (in_array($key_type,array('price','double')))
|
||||||
{
|
{
|
||||||
$value_arr=GETPOST("options_".$key);
|
$value_arr=GETPOST("options_".$key, 'alpha');
|
||||||
$value_key=price2num($value_arr);
|
$value_key=price2num($value_arr);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$value_key=GETPOST("options_".$key);
|
$value_key=GETPOST("options_".$key);
|
||||||
}
|
}
|
||||||
|
|
||||||
$object->array_options["options_".$key]=$value_key;
|
$object->array_options["options_".$key]=$value_key;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user