Skip to content
Snippets Groups Projects
Commit df27538d authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #1122 from FHenry/3.4

Avoid PHP warning
parents 8f39d30e 6f262b3a
No related branches found
No related tags found
No related merge requests found
......@@ -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')))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment