From: hickert Date: Tue, 25 Apr 2006 06:01:08 +0000 (+0000) Subject: Added check for unresolved uids X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2386ff4430e9cb98881192fb06cbadcd7be5b852;p=gosa.git Added check for unresolved uids git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3099 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupGeneric.inc b/plugins/admin/groups/class_groupGeneric.inc index 4e2849325..96d455361 100644 --- a/plugins/admin/groups/class_groupGeneric.inc +++ b/plugins/admin/groups/class_groupGeneric.inc @@ -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 */