mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Update extrafields.class.php
This commit is contained in:
parent
5dab92836b
commit
09b61fd185
|
|
@ -1551,7 +1551,9 @@ class ExtraFields
|
|||
else if (in_array($key_type,array('checkbox')))
|
||||
{
|
||||
$value_arr=GETPOST($keysuffix."options_".$key.$keyprefix);
|
||||
$value_key=implode(',', (array)$value_arr);
|
||||
// Make sure we get an array even if there's only one checkbox
|
||||
$value_arr=(array)$value_arr
|
||||
$value_key=implode(',', $value_arr);
|
||||
}
|
||||
else if (in_array($key_type,array('price','double')))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user