From: Aaron Schulz Date: Fri, 13 Apr 2007 17:48:53 +0000 (+0000) Subject: *Minor cleanup X-Git-Tag: 1.31.0-rc.0~53398 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=ab0904647d3534a09519e2203858303216a0818c;p=lhc%2Fweb%2Fwiklou.git *Minor cleanup --- 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 ) );