From bbbd2e176a2ac2fea4f478e310f076cfd3ccbe29 Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Wed, 2 Jul 2008 01:44:20 +0000 Subject: [PATCH] * fix error in buildSelector function --- includes/ProtectionForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 931c9e9ee8..e778782277 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -337,7 +337,7 @@ class ProtectionForm { //don't let them choose levels above their own (aka so they can still unprotect and edit the page). but only when the form isn't disabled if( $key == 'sysop' ) { //special case, rewrite sysop to protect and editprotected - if( !$wgUser->isAllowed('protect') && !$wgUser->isAllowed('editprotected') && $this->disabled ) + if( !$wgUser->isAllowed('protect') && !$wgUser->isAllowed('editprotected') && !$this->disabled ) continue; } else { if( !$wgUser->isAllowed($key) && !$this->disabled ) -- 2.20.1