From: Aaron Schulz Date: Sun, 20 Apr 2008 21:39:06 +0000 (+0000) Subject: Use $key for the url param X-Git-Tag: 1.31.0-rc.0~48158 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=3617827b919e1a8eb9f5054e0dbcd3bd8179144a;p=lhc%2Fweb%2Fwiklou.git Use $key for the url param --- 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 );