mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user