forked from extern/egroupware
fixed bug reported by Bastian on the german list: Fatal error: [] operator not supported for strings
This commit is contained in:
parent
448a819cb6
commit
82824f0a6c
@ -943,6 +943,7 @@ class so_ldap
|
||||
{
|
||||
if(!empty($data['cat_id']))
|
||||
{
|
||||
$ldapContact['category'] = array();
|
||||
foreach(is_array($data['cat_id']) ? $data['cat_id'] : explode(',',$data['cat_id']) as $cat)
|
||||
{
|
||||
$ldapContact['category'][] = $GLOBALS['egw']->translation->convert(
|
||||
|
Loading…
Reference in New Issue
Block a user