Followup r105853 -- another instance of $request->getVal('filter', 'all') to replace...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 12 Dec 2011 15:51:34 +0000 (15:51 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 12 Dec 2011 15:51:34 +0000 (15:51 +0000)
includes/specials/SpecialAllmessages.php

index 4f2b84d..2bfea4c 100644 (file)
@@ -121,7 +121,7 @@ class AllmessagesTablePager extends TablePager {
                if( $this->filter === 'all' ){
                        $this->custom = null; // So won't match in either case
                } else {
-                       $this->custom = ($request->getVal( 'filter' ) == 'unmodified');
+                       $this->custom = ($this->filter == 'unmodified');
                }
 
                $prefix = $this->getLanguage()->ucfirst( $request->getVal( 'prefix', '' ) );