From: Aaron Schulz Date: Fri, 27 Mar 2009 10:20:53 +0000 (+0000) Subject: Fix r48837: Add target param back, still needed in some places X-Git-Tag: 1.31.0-rc.0~42328 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=f43688d76a892f2f16fd6ca377a23c5b25bee038;p=lhc%2Fweb%2Fwiklou.git Fix r48837: Add target param back, still needed in some places --- diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index 19900b4102..5669b9766e 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -297,8 +297,8 @@ class LogEventsList { 'diff='.intval($Ids[0])."&unhide=1&token=$token" ); } // View/modify link... - $revert[] = $this->skin->makeKnownLinkObj( $revdel, - $this->message['revdel-restore'], "$key=$query" ); + $revert[] = $this->skin->makeKnownLinkObj( $revdel, $this->message['revdel-restore'], + 'target='.$title->getPrefixedUrl()."&$key=$query" ); // Pipe links $revert = '(' . implode(' | ',$revert) . ')'; }