forked from extern/egroupware
Avoid warning if no customfields
This commit is contained in:
parent
d194845e4e
commit
16dddb46db
@ -236,7 +236,7 @@ class etemplate_widget_customfields extends etemplate_widget_transformer
|
||||
}
|
||||
$valid =& self::get_array($validated, $this->id ? $form_name : $field, true);
|
||||
|
||||
$valid = implode(',',$value);
|
||||
$valid = is_array($value) ? implode(',',$value) : $value;
|
||||
error_log(__METHOD__."() $form_name $field: ".array2string($value).' --> '.array2string($value));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user