From: cajus Date: Tue, 27 Jun 2006 11:10:37 +0000 (+0000) Subject: Fixed printer loosing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fe24b1f4e41e60d4fc52081bf99f4c4818d8f843;p=gosa.git Fixed printer loosing git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3938 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index c61bda5fb..156dfd477 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -128,9 +128,7 @@ class printgeneric extends plugin if(preg_match("/Group/",$type)){ $ldap->search("(&(objectClass=posixGroup)(cn=".$mem."))",array("cn","description")); $entry = $ldap->fetch(); - if(isset($entry['description'])){ - $this->member[$type][$entry['cn'][0]]=$entry; - } + $this->member[$type][$entry['cn'][0]]=$entry; }else{ $ldap->search("(&(objectClass=person)(objectClass=inetOrgPerson)(uid=".$mem."))",array("cn","uid")); $entry = $ldap->fetch();