Skip to content
Snippets Groups Projects
Commit 5dab9283 authored by Sof's avatar Sof
Browse files

FIX: Warning: implode(): Invalid arguments passed

 Declare array type before implode to avoid warning
parent a12e9598
No related branches found
No related tags found
No related merge requests found
...@@ -1551,7 +1551,7 @@ class ExtraFields ...@@ -1551,7 +1551,7 @@ class ExtraFields
else if (in_array($key_type,array('checkbox'))) else if (in_array($key_type,array('checkbox')))
{ {
$value_arr=GETPOST($keysuffix."options_".$key.$keyprefix); $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'))) else if (in_array($key_type,array('price','double')))
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment