From: Alexandre Emsenhuber Date: Mon, 10 Jan 2011 08:33:19 +0000 (+0000) Subject: Be sure to use the latest rev id and not whatever getRevIdFetched() could be X-Git-Tag: 1.31.0-rc.0~32652 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=dd32f9c57dfc823c99085c9a7b0fe32ad71b545b;p=lhc%2Fweb%2Fwiklou.git Be sure to use the latest rev id and not whatever getRevIdFetched() could be --- diff --git a/includes/Article.php b/includes/Article.php index bb0c3fdd4f..2d673afee8 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2211,7 +2211,7 @@ class Article { $status->warning( 'edit-no-change' ); $revision = null; // Keep the same revision ID, but do some updates on it - $revisionId = $this->getRevIdFetched(); + $revisionId = $this->getLatest(); // Update page_touched, this is usually implicit in the page update // Other cache updates are done in onArticleEdit() $this->mTitle->invalidateCache();