X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialUncategorizedcategories.php;h=60cbff12e33e170a9c24900ba4f195d5c98c085a;hb=5a451fd01be397db3209c1881a335423706da5c2;hp=5ff9e04ef766d5c92bccf21fb5cdedcabdb5238f;hpb=64b83bdb3afd0ee4f8fc1893a865409c198e601e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialUncategorizedcategories.php b/includes/specials/SpecialUncategorizedcategories.php index 5ff9e04ef7..60cbff12e3 100644 --- a/includes/specials/SpecialUncategorizedcategories.php +++ b/includes/specials/SpecialUncategorizedcategories.php @@ -47,6 +47,7 @@ class UncategorizedCategoriesPage extends UncategorizedPagesPage { */ private function getExceptionList() { if ( $this->exceptionList === null ) { + $this->exceptionList = []; $exList = $this->msg( 'uncategorized-categories-exceptionlist' ) ->inContentLanguage()->plain(); $proposedTitles = explode( "\n", $exList ); @@ -60,7 +61,7 @@ class UncategorizedCategoriesPage extends UncategorizedPagesPage { $title = Title::makeTitleSafe( NS_CATEGORY, $titleStr ); } if ( $title ) { - $this->exceptionList[] = $title->getDBKey(); + $this->exceptionList[] = $title->getDBkey(); } } }