From 8b2684af3a79797b1e4cae9a95f86b1f8c3696b0 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 11 Jul 2007 13:23:16 +0000 Subject: [PATCH] Updated inherit button filter, only display the button if gotoWorkstationTemplate is available git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6837 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_workstationService.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_workstationService.inc b/plugins/admin/systems/class_workstationService.inc index f41b4195e..a12ac0992 100644 --- a/plugins/admin/systems/class_workstationService.inc +++ b/plugins/admin/systems/class_workstationService.inc @@ -62,7 +62,7 @@ class workservice extends plugin if(!isset($this->parent->by_object['ogroup'])){ $ldap = $this->config->get_ldap_link(); $ldap->cd ($this->config->current['BASE']); - $ldap->search("(&(objectClass=gosaGroupOfNames)(member=".$this->dn."))",array("cn")); + $ldap->search("(&(objectClass=gotoWorkstationTemplate)(member=".$this->dn."))",array("cn")); $this->member_of_ogroup = $ldap->count() >= 1; } -- 2.30.2