From: Marcel Werk Date: Thu, 15 Dec 2016 16:38:09 +0000 (+0100) Subject: Fixed breadcrumbs in article list X-Git-Tag: 3.0.0_RC_2~48 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d5a5f11f03281d843593d24ab414e485442b141e;p=GitHub%2FWoltLab%2FWCF.git Fixed breadcrumbs in article list --- 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'); } /**