aboutsummaryrefslogtreecommitdiffstats
path: root/admin/plugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/plugin.php')
-rw-r--r--admin/plugin.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/plugin.php b/admin/plugin.php
index 1657f10c8..aa8faaade 100644
--- a/admin/plugin.php
+++ b/admin/plugin.php
@@ -49,8 +49,7 @@ if (count($sections)<2)
}
$plugin_id = $sections[0];
-$check_db_plugin = get_db_plugins('active', $plugin_id );
-if (empty($check_db_plugin))
+if ( !isset($pwg_loaded_plugins[$plugin_id]) )
{
die('Invalid URL - plugin '.$plugin_id.' not active');
}