From: hickert Date: Wed, 11 Jul 2007 13:23:16 +0000 (+0000) Subject: Updated inherit button filter, only display the button if gotoWorkstationTemplate... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8b2684af3a79797b1e4cae9a95f86b1f8c3696b0;p=gosa.git 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 --- 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; }