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:
rvelices 2007-05-02 03:09:10 +00:00
parent 3f497660fb
commit 4e778d238f

View file

@ -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);