From: bsitu Date: Fri, 23 Aug 2013 22:57:52 +0000 (-0700) Subject: wpUndidRevision should be passed along during 'preview' and 'diff' X-Git-Tag: 1.31.0-rc.0~18874^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=c38a042a81e30b309c2a3ca717fc90356ec77a01;p=lhc%2Fweb%2Fwiklou.git wpUndidRevision should be passed along during 'preview' and 'diff' bug: 53176 Change-Id: Ie0b71b0cd8a3e94d92f9b275cdc623cfde154de2 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 7c7bfe9116..be1e75e8df 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -666,6 +666,11 @@ class EditPage { $this->edittime = $request->getVal( 'wpEdittime' ); $this->starttime = $request->getVal( 'wpStarttime' ); + $undidRev = $request->getInt( 'wpUndidRevision' ); + if ( $undidRev ) { + $this->undidRev = $undidRev; + } + $this->scrolltop = $request->getIntOrNull( 'wpScrolltop' ); if ( $this->textbox1 === '' && $request->getVal( 'wpTextbox1' ) === null ) {