Index: trunk/phase3/includes/specials/SpecialAllmessages.php |
— | — | @@ -33,8 +33,8 @@ |
34 | 34 | $this->prefix = $wgRequest->getVal( 'prefix', '' ); |
35 | 35 | |
36 | 36 | $this->table = new AllmessagesTablePager( $this, |
37 | | - $conds=array(), |
38 | | - wfGetLangObj( $wgRequest->getVal( 'lang', false ) ) ); |
| 37 | + $conds = array(), |
| 38 | + wfGetLangObj( $wgRequest->getVal( 'lang', $par ) ) ); |
39 | 39 | |
40 | 40 | $this->langCode = $this->table->lang->getCode(); |
41 | 41 | |
— | — | @@ -125,7 +125,7 @@ |
126 | 126 | var $messages = NULL; |
127 | 127 | var $talkPages = NULL; |
128 | 128 | |
129 | | - function __construct( $page, $conds, $langObj = NULL ) { |
| 129 | + function __construct( $page, $conds, $langObj = null ) { |
130 | 130 | parent::__construct(); |
131 | 131 | $this->mIndexField = 'am_title'; |
132 | 132 | $this->mPage = $page; |