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:
parent
3f497660fb
commit
4e778d238f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue