* Fix comparison
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sun, 29 Apr 2007 11:17:39 +0000 (11:17 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sun, 29 Apr 2007 11:17:39 +0000 (11:17 +0000)
includes/SpecialContributions.php

index 7de7d8b..a0effc6 100644 (file)
@@ -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();