From: psc Date: Fri, 3 Dec 2010 10:25:03 +0000 (+0000) Subject: Apply fix for #6056 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b22711d4d6001fed5939a6c5a7e9b5d3ddd87ed4;p=gosa.git Apply fix for #6056 Relax check for object group membership for the Devices tab. Display values as inherited for the (broken) case that a system is member of more than one object group. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@20515 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc b/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc index bf30f119f..305aefbbd 100644 --- a/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc +++ b/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc @@ -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",