From ab0904647d3534a09519e2203858303216a0818c Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 13 Apr 2007 17:48:53 +0000 Subject: [PATCH] *Minor cleanup --- includes/SpecialProtectedpages.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/SpecialProtectedpages.php b/includes/SpecialProtectedpages.php index b214822da2..4125f41b5b 100644 --- a/includes/SpecialProtectedpages.php +++ b/includes/SpecialProtectedpages.php @@ -22,12 +22,12 @@ class ProtectedPagesForm { Title::purgeExpiredRestrictions(); } - $type = $wgRequest->getVal( 'type' ); - $level = $wgRequest->getVal( 'level' ); + $type = $wgRequest->getText( 'type' ); + $level = $wgRequest->getText( 'level' ); $minsize = $wgRequest->getIntOrNull( 'minsize' ); $NS = $wgRequest->getIntOrNull( 'namespace' ); - $pager = new ProtectedPagesPager( $this, array(), $type, $level, $NS, $minsize ); + $pager = new ProtectedPagesPager( $this, array(), $type, $level, $NS, $minsize ); $wgOut->addHTML( $this->showOptions( $NS, $type, $level, $minsize ) ); -- 2.20.1