From: Marcel Werk Date: Mon, 5 Sep 2016 15:38:47 +0000 (+0200) Subject: Fixed language version of menu box names X-Git-Tag: 3.0.0_Beta_1~294 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e0276d9dff7ab5d3dc4a76244d3e0ef25a9fcc66;p=GitHub%2FWoltLab%2FWCF.git Fixed language version of menu box names --- diff --git a/wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php index f88cbb9e55..7bbd84c567 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php @@ -1,5 +1,6 @@ getDefaultLanguage()->languageCode])) { + return $matchingValues[LanguageFactory::getInstance()->getDefaultLanguage()->languageCode]; + } + return array_shift($matchingValues); }