From fd7c1bdbfdd21d71c815a9b229b1661dfd186133 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 28 Oct 2019 12:14:43 +0100 Subject: [PATCH] Fixed breadcrumbs title of the landing page --- .../files/lib/system/page/PageLocationManager.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/page/PageLocationManager.class.php b/wcfsetup/install/files/lib/system/page/PageLocationManager.class.php index 2bad24ae4a..0dddd3e39d 100644 --- a/wcfsetup/install/files/lib/system/page/PageLocationManager.class.php +++ b/wcfsetup/install/files/lib/system/page/PageLocationManager.class.php @@ -99,7 +99,7 @@ class PageLocationManager extends SingletonFactory { $title = $page->getTitle(); } - if ($page->isLandingPage) { + if ($page->isLandingPage && BREADCRUMBS_HOME_USE_PAGE_TITLE) { $title = WCF::getLanguage()->get(PAGE_TITLE); } @@ -141,7 +141,7 @@ class PageLocationManager extends SingletonFactory { $page = PageCache::getInstance()->getPage($page->parentPageID); if (!$page->isVisible()) continue; - if ($page->isLandingPage) { + if ($page->isLandingPage && BREADCRUMBS_HOME_USE_PAGE_TITLE) { $title = WCF::getLanguage()->get(PAGE_TITLE); } else { -- 2.20.1