Code

Fixed self mode in pluglist
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jun 2006 10:19:10 +0000 (10:19 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jun 2006 10:19:10 +0000 (10:19 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3982 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_pluglist.inc

index 2c816bd2e56ffe1f9bac809affb0892918aafc05..42f729db8992deab90bdb9f049bb8ab3fb9a4fc0 100644 (file)
@@ -70,9 +70,9 @@ class pluglist {
                foreach($this->ui->subtreeACL as $arr){
                        foreach($arr as $value){
                                if ($value == ':all' || preg_match("/[,:]$modname#/", $value)){
-                       //              if (!preg_match('/^!/', $value)){
+                                       if (!preg_match('/^!/', $value)){
                                                return (TRUE);
-                       //              }
+                                       }
                                }
                        }
                }