From 85eb52cb6912c6e502b70862c77e59b3b0ca0704 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 14 Nov 2007 16:03:39 +0000 Subject: [PATCH] Use == for comparison, not = ! --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1