From 39a2876f54a80dd929b84a3f78befe36472164b8 Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 29 Apr 2010 10:28:28 +0000 Subject: [PATCH] follow-up on r65546#c6661: minor code style issue. (suggested by Nikerabbit) --- includes/specials/SpecialContributions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index 17aaec8012..3cb620becd 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -34,7 +34,7 @@ class SpecialContributions extends SpecialPage { $this->opts['contribs'] = 'newbie'; } - $this->opts['deletedOnly'] = ( $wgRequest->getVal( 'deletedOnly' ) == '1' ); + $this->opts['deletedOnly'] = $wgRequest->getCheck( 'deletedOnly' ); if( !strlen( $target ) ) { $wgOut->addHTML( $this->getForm() ); -- 2.20.1