Make the category browser actually work
authorAnders Wegge Jakobsen <wegge@users.mediawiki.org>
Thu, 28 Feb 2008 08:14:49 +0000 (08:14 +0000)
committerAnders Wegge Jakobsen <wegge@users.mediawiki.org>
Thu, 28 Feb 2008 08:14:49 +0000 (08:14 +0000)
includes/Title.php

index 5ed1438..3e7f1c5 100644 (file)
@@ -2720,6 +2720,7 @@ class Title {
         * @return array
         */
        public function getParentCategoryTree( $children = array() ) {
+               $stack = array();
                $parents = $this->getParentCategories();
 
                if($parents != '') {