From: hickert Date: Tue, 30 Nov 2010 09:53:53 +0000 (+0000) Subject: Updated class pluglist X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ad6970e8aacd1667dd8e56dcb23b18a10e10f507;p=gosa.git Updated class pluglist -Fixed detecction of accessible plugins git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20413 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 != ""); }