Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | $this->opts['contribs'] = 'newbie'; |
36 | 36 | } |
37 | 37 | |
38 | | - $this->opts['deletedOnly'] = ( $wgRequest->getVal( 'deletedOnly' ) == '1' ); |
| 38 | + $this->opts['deletedOnly'] = $wgRequest->getCheck( 'deletedOnly' ); |
39 | 39 | |
40 | 40 | if( !strlen( $target ) ) { |
41 | 41 | $wgOut->addHTML( $this->getForm() ); |