Fixup "} elseif ( $cond[0] = '!' ) {" from r35983

NB, why are some revisions marked ok by no one? :S
This commit is contained in:
Sam Reed 2010-10-13 19:01:21 +00:00
parent 12dda96c6e
commit a4887a8bc0

View file

@ -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;