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:
12dda96
)
Fixup "} elseif ( $cond[0] = '!' ) {" from r35983
author
Sam Reed
<reedy@users.mediawiki.org>
Wed, 13 Oct 2010 19:01:21 +0000
(19:01 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Wed, 13 Oct 2010 19:01:21 +0000
(19:01 +0000)
NB, why are some revisions marked ok by no one? :S
includes/Autopromote.php
patch
|
blob
|
history
diff --git
a/includes/Autopromote.php
b/includes/Autopromote.php
index
e8ef7fc
..
5f612da
100644
(file)
--- a/
includes/Autopromote.php
+++ b/
includes/Autopromote.php
@@
-74,7
+74,7
@@
class Autopromote {
}
return $res;
- } elseif ( $cond[0] = '!' ) {
+ } elseif ( $cond[0] =
=
'!' ) {
foreach ( array_slice( $cond, 1 ) as $subcond ) {
if ( self::recCheckCondition( $subcond, $user ) ) {
return false;