Avoid PHP warning
This commit is contained in:
parent
d5ca2f9f40
commit
6f262b3a5b
@ -906,7 +906,11 @@ class ExtraFields
|
||||
else if (in_array($key_type,array('checkbox')))
|
||||
{
|
||||
$value_arr=GETPOST("options_".$key);
|
||||
$value_key=implode($value_arr,',');
|
||||
if (!empty($value_arr)) {
|
||||
$value_key=implode($value_arr,',');
|
||||
}else {
|
||||
$value_key='';
|
||||
}
|
||||
}
|
||||
else if (in_array($key_type,array('price','double')))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user