fixed bug reported by Bastian on the german list: Fatal error: [] operator not supported for strings

This commit is contained in:
Ralf Becker 2006-07-28 16:44:41 +00:00
parent 448a819cb6
commit 82824f0a6c

View File

@ -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(