From c21cf799a7cec0256ce0b82155b7828df357804c Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 3 May 2005 16:20:34 +0000 Subject: [PATCH] * Error due to someone confusing == with === --- includes/SpecialContributions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1