*Minor cleanup
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 13 Apr 2007 17:48:53 +0000 (17:48 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 13 Apr 2007 17:48:53 +0000 (17:48 +0000)
includes/SpecialProtectedpages.php

index b214822..4125f41 100644 (file)
@@ -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 ) );