FIX: Warning: implode(): Invalid arguments passed

Declare array type before implode to avoid warning
This commit is contained in:
Sof 2015-11-30 12:27:58 +01:00
parent a12e959833
commit 5dab92836b

View File

@ -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')))
{