Index: trunk/phase3/includes/diff/DifferenceInterface.php |
— | — | @@ -395,8 +395,8 @@ |
396 | 396 | } else { |
397 | 397 | $query = array( |
398 | 398 | 'type' => 'revision', |
399 | | - 'target' => $this->mOldRev->mTitle->getPrefixedDbkey(), |
400 | | - 'ids' => $this->mOldRev->getId() |
| 399 | + 'target' => $rev->mTitle->getPrefixedDbkey(), |
| 400 | + 'ids' => $rev->getId() |
401 | 401 | ); |
402 | 402 | $link = $sk->revDeleteLink( $query, |
403 | 403 | $rev->isDeleted( Revision::DELETED_RESTRICTED ), $canHide ); |