From fe24b1f4e41e60d4fc52081bf99f4c4818d8f843 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 27 Jun 2006 11:10:37 +0000 Subject: [PATCH] Fixed printer loosing git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3938 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_printGeneric.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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(); -- 2.30.2