Code

Fixed Blocklists
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Aug 2005 11:25:38 +0000 (11:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Aug 2005 11:25:38 +0000 (11:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1177 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofax/blocklists/class_blocklistManagement.inc

index 4ca1d9d5ac7f3cfc8dea6b885d109141e641b6ec..0c315b05599dc65b9df8a2a9c395b3d89add2189 100644 (file)
@@ -441,7 +441,7 @@ class blocklist extends plugin
     }
 
     /* Generate blocklists */
-    $res= get_list($this->ui->subtreeACL, "(&(cn=$regex)$filter)", TRUE, $base, array("*"));
+    $res= get_list($this->ui->subtreeACL, "(&(cn=$regex)$filter)", FALSE, "ou=gofax,ou=systems,".$base, array("*"));
 
     $this->blocklists=$res;
 
@@ -450,7 +450,6 @@ class blocklist extends plugin
      * So we are able to navigate like in konquerer
      */
     $base2 = preg_replace("/ou=people,/i","",$base);
-
     $res3 =  get_list2($this->ui->subtreeACL, "(&(|(ou=$regex)(description=$regex))(objectClass=gosaDepartment))",
         TRUE, $base2, array("ou", "description"), TRUE);