Typo causing all conflicts to become new section edits
authorTim Starling <tstarling@users.mediawiki.org>
Sun, 11 Dec 2005 15:09:44 +0000 (15:09 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sun, 11 Dec 2005 15:09:44 +0000 (15:09 +0000)
includes/EditPage.php

index c44f6aa..b8af6d0 100644 (file)
@@ -549,7 +549,7 @@ class EditPage {
                
                if( $this->mArticle->getTimestamp() != $this->edittime ) {
                        $this->isConflict = true;
-                       if( $this->section = 'new' ) {
+                       if( $this->section == 'new' ) {
                                if( $this->mArticle->getUserText() == $wgUser->getName() &&
                                        $this->mArticle->getComment() == $this->summary ) {
                                        // Probably a duplicate submission of a new comment.