From 94295844080ebdddfa07cd41eec59e493b1e3a5e Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 22 May 2016 22:17:19 +0200 Subject: [PATCH] Fixed title of landing page in breadcrumbs --- .../install/files/lib/system/breadcrumb/Breadcrumbs.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/breadcrumb/Breadcrumbs.class.php b/wcfsetup/install/files/lib/system/breadcrumb/Breadcrumbs.class.php index 0e9e0cbb3a..fed75f1703 100644 --- a/wcfsetup/install/files/lib/system/breadcrumb/Breadcrumbs.class.php +++ b/wcfsetup/install/files/lib/system/breadcrumb/Breadcrumbs.class.php @@ -3,6 +3,7 @@ namespace wcf\system\breadcrumb; use wcf\data\page\PageCache; use wcf\system\page\PageLocationManager; use wcf\system\SingletonFactory; +use wcf\system\WCF; /** * Manages breadcrumbs. @@ -102,7 +103,7 @@ class Breadcrumbs extends SingletonFactory implements \Countable, \Iterator { if ($addLandingPage) { array_unshift($locations, [ 'link' => $landingPage->getLink(), - 'title' => $landingPage->getTitle() + 'title' => WCF::getLanguage()->get(PAGE_TITLE) ]); } -- 2.20.1