From 21ecbb25615e1f3cc552776b82869c4408bd590c Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 4 Jul 2011 14:40:17 +0000 Subject: [PATCH] Use WebRequest::getValues() instead of raw $_REQUEST --- includes/specials/SpecialUndelete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index 284243a0ed..15a77c313d 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -619,7 +619,7 @@ class SpecialUndelete extends SpecialPage { if( $this->mRestore || $this->mInvert ) { $timestamps = array(); $this->mFileVersions = array(); - foreach( $_REQUEST as $key => $val ) { + foreach( $this->mRequest->getValues() as $key => $val ) { $matches = array(); if( preg_match( '/^ts(\d{14})$/', $key, $matches ) ) { array_push( $timestamps, $matches[1] ); -- 2.20.1