Fix syntax error

This commit is contained in:
Laurent Destailleur 2015-12-03 10:04:13 +01:00
parent 2f02919c70
commit cb8227f086

View File

@ -1552,7 +1552,7 @@ class ExtraFields
{ {
$value_arr=GETPOST($keysuffix."options_".$key.$keyprefix); $value_arr=GETPOST($keysuffix."options_".$key.$keyprefix);
// Make sure we get an array even if there's only one checkbox // Make sure we get an array even if there's only one checkbox
$value_arr=(array)$value_arr $value_arr=(array) $value_arr;
$value_key=implode(',', $value_arr); $value_key=implode(',', $value_arr);
} }
else if (in_array($key_type,array('price','double'))) else if (in_array($key_type,array('price','double')))