From: Roan Kattouw Date: Mon, 9 Mar 2009 11:00:12 +0000 (+0000) Subject: (bug 17863) Fix regression from r47890 that broke Show changes on the edit form;... X-Git-Tag: 1.31.0-rc.0~42554 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=2b9be470639f2b0b4d4f4785a431c586791290f1;p=lhc%2Fweb%2Fwiklou.git (bug 17863) Fix regression from r47890 that broke Show changes on the edit form; do this by skipping over revision loading as well as text loading when custom texts are set using setText() --- diff --git a/includes/diff/DifferenceEngine.php b/includes/diff/DifferenceEngine.php index da1215e611..1d7defc026 100644 --- a/includes/diff/DifferenceEngine.php +++ b/includes/diff/DifferenceEngine.php @@ -768,6 +768,7 @@ CONTROL; $this->mOldtext = $oldText; $this->mNewtext = $newText; $this->mTextLoaded = 2; + $this->mRevisionsLoaded = true; } /**