Code

Updated class pluglist
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 30 Nov 2010 09:53:53 +0000 (09:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 30 Nov 2010 09:53:53 +0000 (09:53 +0000)
-Fixed detecction of accessible plugins

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20413 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_pluglist.inc

index 4cc4bc21b369e26364a6fbd0aaf03c9ebc77075d..edf5e5c0e8c08f5502827703a5c3614b3630cf4c 100644 (file)
@@ -534,7 +534,7 @@ class pluglist
      */
     function plugin_access_allowed($plug_id)
     {
-        return(isset($this->pluginList[$plug_id]));
+        return(isset($this->pluginList[$plug_id]) && $plug_id != "");
     }