dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b17c386
)
Fix for corruption of previous edit's data for 'post comment'
author
Brion Vibber
<brion@users.mediawiki.org>
Sun, 24 Aug 2003 12:09:20 +0000
(12:09 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sun, 24 Aug 2003 12:09:20 +0000
(12:09 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
82465b8
..
626a9b3
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-383,6
+383,9
@@
class Article {
global $wgOut, $wgUser, $wgTitle, $wgLinkCache;
global $wgDBtransactions;
$fname = "Article::updateArticle";
+
+ $this->loadLastEdit();
+
// insert updated section into old text if we have only edited part
// of the article
if ($section != "") {
@@
-405,7
+408,6
@@
class Article {
$text = $m[1] . "\n"; # Remove all content but redirect
}
else { $redir = 0; }
- $this->loadLastEdit();
$text = $this->preSaveTransform( $text );