aboutsummaryrefslogtreecommitdiffstats
path: root/admin/plugins_list.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/plugins_list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/plugins_list.php b/admin/plugins_list.php
index 1a25ce009..21e8ec3f2 100644
--- a/admin/plugins_list.php
+++ b/admin/plugins_list.php
@@ -38,7 +38,7 @@ $plugins = new plugins();
//--------------------------------------------------perform requested actions
if (isset($_GET['action']) and isset($_GET['plugin']))
{
- if ($_GET['action'] == 'uninstall' AND !is_webmaster())
+ if (in_array($_GET['action'], array('install', 'uninstall')) AND !is_webmaster())
{
array_push($page['errors'], l10n('Webmaster status is required.'));
}