mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
check for is_adviser in plugin admin page
git-svn-id: http://piwigo.org/svn/trunk@1994 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