From 4e778d238ff476f7505fec015cd4101eaab18e6a Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 2 May 2007 03:09:10 +0000 Subject: check for is_adviser in plugin admin page git-svn-id: http://piwigo.org/svn/trunk@1994 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin') 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); -- cgit v1.2.3