Code

ogroup list fixed
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Aug 2005 11:18:06 +0000 (11:18 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Aug 2005 11:18:06 +0000 (11:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1175 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/ogroups/class_ogroupManagement.inc

index f9959323b1659e330dfbe76e36f4fef5958086ba..1cbeb8d93517d1294329a6ab7003290c2c2c2ba2 100644 (file)
@@ -567,7 +567,10 @@ name='dep_root' alt='"._("Root")."'>&nbsp;".
     } else {
       $filter= "(&(cn=$regex)(objectClass=gosaGroupOfNames))";
     }
-    $res= get_list($this->ui->subtreeACL, "$filter", TRUE, $base, array("*"), TRUE);
+    
+   $groups = ($this->config->current['GROUPS']);
+
+    $res= get_list($this->ui->subtreeACL, "$filter",FALSE, $groups.",".$base, array("*"), TRUE);
     $this->ogrouplist= $res;
     ksort ($this->ogrouplist);
     reset ($this->ogrouplist);