Code

Updated inherit button filter, only display the button if gotoWorkstationTemplate...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 11 Jul 2007 13:23:16 +0000 (13:23 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 11 Jul 2007 13:23:16 +0000 (13:23 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6837 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationService.inc

index f41b4195e54fc4420865a319327e59871d90e7b3..a12ac099244755167392beb14dd4f5e2062d83a7 100644 (file)
@@ -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;
     }