From: Marcel Werk Date: Mon, 28 Oct 2019 11:14:43 +0000 (+0100) Subject: Fixed breadcrumbs title of the landing page X-Git-Tag: 5.2.0_Beta_3~34 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fd7c1bdbfdd21d71c815a9b229b1661dfd186133;p=GitHub%2FWoltLab%2FWCF.git Fixed breadcrumbs title of the landing page --- 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 {