From: Sam Reed Date: Wed, 13 Oct 2010 19:01:21 +0000 (+0000) Subject: Fixup "} elseif ( $cond[0] = '!' ) {" from r35983 X-Git-Tag: 1.31.0-rc.0~34522 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=a4887a8bc0c4e0c6cddd43efea4f701e98279465;p=lhc%2Fweb%2Fwiklou.git Fixup "} elseif ( $cond[0] = '!' ) {" from r35983 NB, why are some revisions marked ok by no one? :S --- diff --git a/includes/Autopromote.php b/includes/Autopromote.php index e8ef7fc90b..5f612da125 100644 --- 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;