Code

Apply fix for #6056
[gosa.git] / trunk / gosa-plugins / goto / admin / systems / goto / class_workstationService.inc
index bf30f119f689b264ef3adbffe77ef2da44c879b9..305aefbbd8d21bd9db9b05bb64ec1c7fd7fa6835 100644 (file)
@@ -517,7 +517,7 @@ class workservice extends plugin
       $ldap->cd($this->config->current['BASE']);
       $ldap->search("(&(objectClass=gotoWorkstationTemplate)(member=".LDAP::prepare4filter($this->dn)."))");
     }
-      if ($ldap->count() == 1){
+      if ($ldap->count() >= 1){
         $this->member_of_ogroup = TRUE;
         $attrs= $ldap->fetch();
         $map= array("gotoXResolution", "gotoXColordepth", "gotoXKbModel", "gotoXKbLayout",