From 04e800d3771e8f43a180b6b2c93445f532b1c4bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sun, 29 Apr 2007 11:17:39 +0000 Subject: [PATCH] * Fix comparison --- includes/SpecialContributions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index 7de7d8bd0d..a0effc6d3c 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -7,6 +7,7 @@ class ContribsPager extends IndexPager { public $mDefaultDirection = true; var $messages, $target; + var $namespace == '', $mDb; function __construct( $target, $namespace = false ) { global $wgUser; @@ -57,7 +58,7 @@ class ContribsPager extends IndexPager { } function getNamespaceCond() { - if ( $this->namespace !== false ) { + if ( $this->namespace !== '' ) { return array( 'page_namespace' => (int)$this->namespace ); } else { return array(); -- 2.20.1