mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
Custom field value is never an array, just a string
This commit is contained in:
parent
1dc6376ed4
commit
282888715b
@ -234,7 +234,8 @@ class etemplate_widget_customfields extends etemplate_widget_transformer
|
||||
self::set_validation_error($form_name,lang('Field must not be empty !!!'),'');
|
||||
}
|
||||
$valid =& self::get_array($validated, $this->id ? $form_name : $field, true);
|
||||
$valid = $value;
|
||||
|
||||
$valid = implode(',',$value);
|
||||
error_log(__METHOD__."() $form_name $field: ".array2string($value).' --> '.array2string($value));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user