From: cajus Date: Wed, 30 Nov 2005 15:54:29 +0000 (+0000) Subject: Fixed problem with undefined descriptions X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b7bf8ddfb865632ec99171ee9972bf55d63b09a7;p=gosa.git Fixed problem with undefined descriptions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2161 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index 93b22ba45..578b13008 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -1002,7 +1002,7 @@ class userManagement extends plugin } ksort($tmp); foreach($tmp as $value){ - if($value["description"][0]!=".."){ + if(isset($value['description'][0]) && $value["description"][0]!=".."){ $this->departments[$value['dn']]=convert_department_dn2($value['dn'])." - [".$value["description"][0]."]"; }else{ $this->departments[$value['dn']]=$value["description"][0];