aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-05-02 03:09:10 +0000
committerrvelices <rv-github@modusoptimus.com>2007-05-02 03:09:10 +0000
commit4e778d238ff476f7505fec015cd4101eaab18e6a (patch)
tree4a8625c998f49808a77f7b1e88fa44a318bf39dc /admin
parent3f497660fb78c1efaa67ae5cf19c6bcca4fcde8a (diff)
check for is_adviser in plugin admin page
git-svn-id: http://piwigo.org/svn/trunk@1994 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/plugins.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/plugins.php b/admin/plugins.php
index b10cc718e..f68b98839 100644
--- a/admin/plugins.php
+++ b/admin/plugins.php
@@ -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);