diff options
author | mistic100 <mistic@piwigo.org> | 2011-09-02 09:08:43 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2011-09-02 09:08:43 +0000 |
commit | 153d591c5d08bcace1b86eb7bc1861fff68b4f8d (patch) | |
tree | 9fe0fd3d27f762506d8f0697a8b23feccb8cdb26 | |
parent | bd7f8c0ba2e5686c25152de220f645dc39a72ccd (diff) |
bug:2426 admins shouldn't be able to perform any action on plugins
git-svn-id: http://piwigo.org/svn/trunk@12033 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/plugins_installed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/plugins_installed.php b/admin/plugins_installed.php index d20e1ee1d..62962dfba 100644 --- a/admin/plugins_installed.php +++ b/admin/plugins_installed.php @@ -62,7 +62,7 @@ $plugins = new plugins(); //--------------------------------------------------perform requested actions if (isset($_GET['action']) and isset($_GET['plugin'])) { - if (in_array($_GET['action'], array('install', 'uninstall')) AND !is_webmaster()) + if (!is_webmaster()) { array_push($page['errors'], l10n('Webmaster status is required.')); } |