From b22711d4d6001fed5939a6c5a7e9b5d3ddd87ed4 Mon Sep 17 00:00:00 2001 From: psc Date: Fri, 3 Dec 2010 10:25:03 +0000 Subject: [PATCH] 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 --- .../goto/admin/systems/goto/class_workstationService.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.30.2