aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-01-08 05:48:37 +0000
committerrub <rub@piwigo.org>2007-01-08 05:48:37 +0000
commit2bac6aab19aabbb8cfa552978888f749cb23d1eb (patch)
tree32f2a048a6c9358bc89faf7923c565cda909097e
parent4489066c982c1044028295164ec2f2e840c16881 (diff)
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
-rw-r--r--admin.php2
1 files changed, 1 insertions, 1 deletions
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'];