From: Brion Vibber Date: Wed, 14 Nov 2007 16:03:39 +0000 (+0000) Subject: Use == for comparison, not = ! X-Git-Tag: 1.31.0-rc.0~50877 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=85eb52cb6912c6e502b70862c77e59b3b0ca0704;p=lhc%2Fweb%2Fwiklou.git Use == for comparison, not = ! --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 15a56a93d3..3526061620 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2127,7 +2127,7 @@ END $resultDetails = false; $value = $this->internalAttemptSave( $resultDetails ); - if( $value == self::AS_SUCCESS_UPDATE || $value = self::AS_SUCCESS_NEW_ARTICLE ) { + if( $value == self::AS_SUCCESS_UPDATE || $value == self::AS_SUCCESS_NEW_ARTICLE ) { $this->didSave = true; }