From: Alexandre Emsenhuber Date: Mon, 4 Jul 2011 14:40:17 +0000 (+0000) Subject: Use WebRequest::getValues() instead of raw $_REQUEST X-Git-Tag: 1.31.0-rc.0~29087 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=21ecbb25615e1f3cc552776b82869c4408bd590c;p=lhc%2Fweb%2Fwiklou.git Use WebRequest::getValues() instead of raw $_REQUEST --- 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] );