From 4225abaa90a528547a03c6583a661e55d0d6097c Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 27 Jun 2006 11:11:14 +0000 Subject: [PATCH] Fixed printer loosing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3939 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