From 3617827b919e1a8eb9f5054e0dbcd3bd8179144a Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 20 Apr 2008 21:39:06 +0000 Subject: [PATCH] Use $key for the url param --- includes/LogEventsList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index a2f39f2655..d525f8de91 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -259,7 +259,7 @@ class LogEventsList { } else { $revParams = ''; foreach( $Ids as $n => $id ) { - $revParams .= '&oldid[]=' . intval($id); + $revParams .= '&' . urlencode($key) . '[]=' . intval($id); } $revert = $this->skin->makeKnownLinkObj( $revdel, $this->message['revdel-restore'], 'target=' . $title->getPrefixedUrl() . $revParams ); -- 2.20.1