From: Marcel Werk Date: Thu, 5 Jan 2017 12:21:48 +0000 (+0100) Subject: Fixed multilingual external links X-Git-Tag: 3.0.0~49 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8f1cb224ff5647e60700e8750b5dc74ad3e963c3;p=GitHub%2FWoltLab%2FWCF.git Fixed multilingual external links --- diff --git a/wcfsetup/install/files/lib/data/menu/item/MenuItem.class.php b/wcfsetup/install/files/lib/data/menu/item/MenuItem.class.php index 7ecfeee0f9..b565a0ec61 100644 --- a/wcfsetup/install/files/lib/data/menu/item/MenuItem.class.php +++ b/wcfsetup/install/files/lib/data/menu/item/MenuItem.class.php @@ -86,7 +86,7 @@ class MenuItem extends DatabaseObject { return $this->getPage()->getLink(); } else { - return $this->externalURL; + return WCF::getLanguage()->get($this->externalURL); } }