FIX: Warning: implode(): Invalid arguments passed
Declare array type before implode to avoid warning
This commit is contained in:
parent
a12e959833
commit
5dab92836b
@ -1551,7 +1551,7 @@ class ExtraFields
|
||||
else if (in_array($key_type,array('checkbox')))
|
||||
{
|
||||
$value_arr=GETPOST($keysuffix."options_".$key.$keyprefix);
|
||||
$value_key=implode(',', $value_arr);
|
||||
$value_key=implode(',', (array)$value_arr);
|
||||
}
|
||||
else if (in_array($key_type,array('price','double')))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user