From 2bac6aab19aabbb8cfa552978888f749cb23d1eb Mon Sep 17 00:00:00 2001 From: rub Date: Mon, 8 Jan 2007 05:48:37 +0000 Subject: Feature Issue ID 0000496: Integrate MOD add_index on PWG with plugin.lang.php Missing state 'active' to check direct access plugin page. git-svn-id: http://piwigo.org/svn/trunk@1700 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin.php') diff --git a/admin.php b/admin.php index b5165257d..f32cbcaee 100644 --- a/admin.php +++ b/admin.php @@ -88,7 +88,7 @@ if $page['page']['plugin_id'] = mysql_escape_string($_GET['plugin_id']); } - $check_db_plugin = get_db_plugins('', $page['page']['plugin_id']); + $check_db_plugin = get_db_plugins('active', $page['page']['plugin_id']); if (!empty($check_db_plugin)) { $page['page']['type'] = $_GET['page_type']; -- cgit v1.2.3