Code

Fixed printer loosing
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Jun 2006 11:11:14 +0000 (11:11 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Jun 2006 11:11:14 +0000 (11:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3939 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_printGeneric.inc

index c61bda5fb2b19dba967df3125a73b17938fa6945..156dfd4770992fb9a6fd9b26706689398e87b52a 100644 (file)
@@ -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();