From 6f70078255b3e737acdb92b25b4ab3e61ce60ebd Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Tue, 29 Jul 2003 02:08:25 +0000 Subject: [PATCH] fixed edit conflict bug with sections --- includes/Article.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/Article.php b/includes/Article.php index adfe9a4066..c6dd43a87a 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -429,9 +429,10 @@ class Article { } # Article exists. Check for edit conflict. # Don't check for conflict when appending a comment - this should always work + # switch from section editing to normal editing in edit conflict $this->clear(); # Force reload of dates, etc. - if ( $section!="new" && ( $this->getTimestamp() != $wpEdittime ) ) { $isConflict = true; } + if ( $section!="new" && ( $this->getTimestamp() != $wpEdittime ) ) { $isConflict = true;$section="";$wpSection=""; } $u = $wgUser->getID(); # Supress edit conflict with self -- 2.20.1