From: Marcel Werk Date: Sun, 22 May 2016 20:17:19 +0000 (+0200) Subject: Fixed title of landing page in breadcrumbs X-Git-Tag: 3.0.0_Beta_1~1664 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=94295844080ebdddfa07cd41eec59e493b1e3a5e;p=GitHub%2FWoltLab%2FWCF.git Fixed title of landing page in breadcrumbs --- 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) ]); }