From ad6970e8aacd1667dd8e56dcb23b18a10e10f507 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 30 Nov 2010 09:53:53 +0000 Subject: [PATCH] Updated class pluglist -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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_pluglist.inc b/gosa-core/include/class_pluglist.inc index 4cc4bc21b..edf5e5c0e 100644 --- a/gosa-core/include/class_pluglist.inc +++ b/gosa-core/include/class_pluglist.inc @@ -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 != ""); } -- 2.30.2