mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-04 20:42:53 +02:00
merge r1994 from trunk to branch-1_7
check for is_adviser in plugin admin page git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1995 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -37,7 +37,7 @@ $my_base_url = PHPWG_ROOT_PATH.'admin.php?page=plugins';
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | perform requested actions |
|
||||
// +-----------------------------------------------------------------------+
|
||||
if ( isset($_GET['action']) and isset($_GET['plugin']) )
|
||||
if ( isset($_GET['action']) and isset($_GET['plugin']) and !is_adviser() )
|
||||
{
|
||||
$plugin_id = $_GET['plugin'];
|
||||
$crt_db_plugin = get_db_plugins('', $plugin_id);
|
||||
|
||||
Reference in New Issue
Block a user