dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f54ec43
)
* fix error in buildSelector function
author
Ryan Schmidt
<skizzerz@users.mediawiki.org>
Wed, 2 Jul 2008 01:44:20 +0000
(
01:44
+0000)
committer
Ryan Schmidt
<skizzerz@users.mediawiki.org>
Wed, 2 Jul 2008 01:44:20 +0000
(
01:44
+0000)
includes/ProtectionForm.php
patch
|
blob
|
history
diff --git
a/includes/ProtectionForm.php
b/includes/ProtectionForm.php
index
931c9e9
..
e778782
100644
(file)
--- 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 )