Code

Added check for unresolved uids
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 Apr 2006 06:01:08 +0000 (06:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 Apr 2006 06:01:08 +0000 (06:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3099 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupGeneric.inc

index 4e28493250fc868cdd17729d30e1f59e4bc5283f..96d45536125d8bde222bd23ae24a4a4271a10963 100644 (file)
@@ -433,7 +433,13 @@ class group extends plugin
         $this->allusers[$attrs['uid'][0]]= $this->createResultName($attrs);
       } 
     }
-    
+  
+    /* check if all uids are resolved */
+    foreach ($this->memberUid as $value){
+      if(!isset($this->members[$value])){
+        $this->members[$value] =  _("! unknown id")." [".$value."]"; 
+      }
+    }  
 
     /* Create display list of users matching regex & filter 
      */