From d5a5f11f03281d843593d24ab414e485442b141e Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 15 Dec 2016 17:38:09 +0100 Subject: [PATCH] Fixed breadcrumbs in article list --- com.woltlab.wcf/page.xml | 1 - wcfsetup/install/files/lib/page/AbstractArticlePage.class.php | 1 - .../install/files/lib/page/CategoryArticleListPage.class.php | 1 - 3 files changed, 3 deletions(-) diff --git a/com.woltlab.wcf/page.xml b/com.woltlab.wcf/page.xml index 4d8168be22..84aba0ffd5 100644 --- a/com.woltlab.wcf/page.xml +++ b/com.woltlab.wcf/page.xml @@ -511,7 +511,6 @@ List of Articles in Certain Category module_article com.woltlab.wcf.ArticleList - 1 1 diff --git a/wcfsetup/install/files/lib/page/AbstractArticlePage.class.php b/wcfsetup/install/files/lib/page/AbstractArticlePage.class.php index a9bcb3c4ab..4ca7f73e5e 100644 --- a/wcfsetup/install/files/lib/page/AbstractArticlePage.class.php +++ b/wcfsetup/install/files/lib/page/AbstractArticlePage.class.php @@ -157,7 +157,6 @@ abstract class AbstractArticlePage extends AbstractPage { foreach ($this->article->getCategory()->getParentCategories() as $parentCategory) { PageLocationManager::getInstance()->addParentLocation('com.woltlab.wcf.CategoryArticleList', $parentCategory->categoryID, $parentCategory); } - PageLocationManager::getInstance()->addParentLocation('com.woltlab.wcf.ArticleList'); } /** diff --git a/wcfsetup/install/files/lib/page/CategoryArticleListPage.class.php b/wcfsetup/install/files/lib/page/CategoryArticleListPage.class.php index 136a5a8443..09693565b0 100644 --- a/wcfsetup/install/files/lib/page/CategoryArticleListPage.class.php +++ b/wcfsetup/install/files/lib/page/CategoryArticleListPage.class.php @@ -76,7 +76,6 @@ class CategoryArticleListPage extends ArticleListPage { foreach ($this->category->getParentCategories() as $parentCategory) { PageLocationManager::getInstance()->addParentLocation('com.woltlab.wcf.CategoryArticleList', $parentCategory->categoryID, $parentCategory); } - PageLocationManager::getInstance()->addParentLocation('com.woltlab.wcf.ArticleList'); } /** -- 2.20.1