Code

Fixed problem with undefined descriptions
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Nov 2005 15:54:29 +0000 (15:54 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Nov 2005 15:54:29 +0000 (15:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2161 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/users/class_userManagement.inc

index 93b22ba45531d999ee8af83e3568e87cf31fc323..578b13008782cd6a68ee41da1c120da39c0808d3 100644 (file)
@@ -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];