From: Niklas Laxström Date: Sun, 29 Apr 2007 11:17:39 +0000 (+0000) Subject: * Fix comparison X-Git-Tag: 1.31.0-rc.0~53181 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=04e800d3771e8f43a180b6b2c93445f532b1c4bd;p=lhc%2Fweb%2Fwiklou.git * Fix comparison --- 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();