From: Tobias Date: Fri, 9 Apr 2010 14:38:35 +0000 (+0000) Subject: fixing bug 23113 (introduced in r60945) which breaks show/hide links in diffs X-Git-Tag: 1.31.0-rc.0~37202 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=a8393a4164cd2f1c8a7d8e3d9135a526be673d9c;p=lhc%2Fweb%2Fwiklou.git fixing bug 23113 (introduced in r60945) which breaks show/hide links in diffs --- diff --git a/includes/diff/DifferenceInterface.php b/includes/diff/DifferenceInterface.php index 9f6b53dd3c..712a22ed56 100644 --- a/includes/diff/DifferenceInterface.php +++ b/includes/diff/DifferenceInterface.php @@ -395,8 +395,8 @@ CONTROL; } else { $query = array( 'type' => 'revision', - 'target' => $this->mOldRev->mTitle->getPrefixedDbkey(), - 'ids' => $this->mOldRev->getId() + 'target' => $rev->mTitle->getPrefixedDbkey(), + 'ids' => $rev->getId() ); $link = $sk->revDeleteLink( $query, $rev->isDeleted( Revision::DELETED_RESTRICTED ), $canHide );