rm useless "!!" left over from testing
authorIlmari Karonen <vyznev@users.mediawiki.org>
Mon, 14 May 2007 03:38:42 +0000 (03:38 +0000)
committerIlmari Karonen <vyznev@users.mediawiki.org>
Mon, 14 May 2007 03:38:42 +0000 (03:38 +0000)
includes/CategoryPage.php

index 9b11d26..48f545d 100644 (file)
@@ -223,9 +223,9 @@ class CategoryViewer {
                        if( $title->getNamespace() == NS_CATEGORY ) {
                                $this->addSubcategory( $title, $x->cl_sortkey, $x->page_len );
                        } elseif( $title->getNamespace() == NS_IMAGE ) {
-                               $this->addImage( $title, $x->cl_sortkey, $x->page_len, !!$x->page_is_redirect );
+                               $this->addImage( $title, $x->cl_sortkey, $x->page_len, $x->page_is_redirect );
                        } else {
-                               $this->addPage( $title, $x->cl_sortkey, $x->page_len, !!$x->page_is_redirect );
+                               $this->addPage( $title, $x->cl_sortkey, $x->page_len, $x->page_is_redirect );
                        }
                }
                $dbr->freeResult( $res );