Index: trunk/extensions/CategoryTree/CategoryPageSubclass.php |
— | — | @@ -22,7 +22,7 @@ |
23 | 23 | /** |
24 | 24 | * Add a subcategory to the internal lists |
25 | 25 | */ |
26 | | - function addSubcategoryObject( $cat, $sortkey, $pageLength ) { |
| 26 | + function addSubcategoryObject( Category $cat, $sortkey, $pageLength ) { |
27 | 27 | global $wgRequest; |
28 | 28 | |
29 | 29 | $title = $cat->getTitle(); |