Don't duplicate the "title" query parameter
[lhc/web/wiklou.git] / includes / CategoryPage.php
index 9dee972..28f8a38 100644 (file)
@@ -86,6 +86,7 @@ class CategoryViewer {
                $this->limit = $wgCategoryPagingLimit;
                $this->cat = Category::newFromTitle( $title );
                $this->query = $query;
+               unset( $this->query['title'] );
        }
 
        /**