From: Marcel Werk Date: Fri, 10 Jan 2020 17:00:35 +0000 (+0100) Subject: fixed missing consideration of the box name in menu pip X-Git-Tag: 5.2.2~61 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fda4d89cb01c592bd3d446d20bd59a467ab66cff;p=GitHub%2FWoltLab%2FWCF.git fixed missing consideration of the box name in menu pip --- diff --git a/wcfsetup/install/files/lib/system/package/plugin/MenuPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/MenuPackageInstallationPlugin.class.php index fed23cc0fb..88256adde6 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/MenuPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/MenuPackageInstallationPlugin.class.php @@ -156,7 +156,7 @@ class MenuPackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin $this->boxData[$identifier] = [ 'identifier' => $identifier, - 'name' => $this->getI18nValues($data['elements']['title'], true), + 'name' => $this->getI18nValues(!empty($data['elements']['box']['name']) ? $data['elements']['box']['name'] : $data['elements']['title'], true), 'boxType' => 'menu', 'position' => $position, 'showHeader' => !empty($data['elements']['box']['showHeader']) ? 1 : 0,