From b7bf8ddfb865632ec99171ee9972bf55d63b09a7 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 30 Nov 2005 15:54:29 +0000 Subject: [PATCH] Fixed problem with undefined descriptions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2161 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/users/class_userManagement.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.30.2