(bug 25087) Fix fatal in CategoryPage
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 8 Sep 2010 10:41:13 +0000 (10:41 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 8 Sep 2010 10:41:13 +0000 (10:41 +0000)
includes/CategoryPage.php

index 020e835..e948ce9 100644 (file)
@@ -169,7 +169,8 @@ class CategoryViewer {
                        array( 'known', 'noclasses' )
                );
 
-               $this->children_start_char[] = $this->getSubcategorySortChar( $title, $sortkey );
+               $this->children_start_char[] = 
+                       $this->getSubcategorySortChar( $cat->getTitle(), $sortkey );
        }
 
        /**