From: Ævar Arnfjörð Bjarmason Date: Tue, 3 May 2005 16:20:34 +0000 (+0000) Subject: * Error due to someone confusing == with === X-Git-Tag: 1.5.0alpha2~337 X-Git-Url: https://git.cyclocoop.org/%20%27.%28%24debut%20%20%20%24par_page%29.%27?a=commitdiff_plain;h=c21cf799a7cec0256ce0b82155b7828df357804c;p=lhc%2Fweb%2Fwiklou.git * Error due to someone confusing == with === --- diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index 000f4d2eac..08a043d900 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -18,7 +18,7 @@ function wfSpecialContributions( $par = '' ) { // GET values $target = $par ? $par : $wgRequest->getVal( 'target' ); $namespace = $wgRequest->getInt( 'namespace', '' ); - $namespace = ($namespace == '') ? NULL : $namespace; + $namespace = $namespace === '' ? NULL : $namespace; $invert = $wgRequest->getBool( 'invert' ); $hideminor = ($wgRequest->getBool( 'hideminor' ) ? true : false);