aboutsummaryrefslogtreecommitdiffstats
path: root/admin/plugins.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-05-02 03:11:16 +0000
committerrvelices <rv-github@modusoptimus.com>2007-05-02 03:11:16 +0000
commitdb02ed0b14604bf8efc227067a3bfe009f972e1c (patch)
treec54eec57b02376bd3c017f4b0d4a49dbe6e67f6c /admin/plugins.php
parent933749789c403c811add7277c5e92a88902c4f78 (diff)
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
Diffstat (limited to '')
-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);