From fda4d89cb01c592bd3d446d20bd59a467ab66cff Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 10 Jan 2020 18:00:35 +0100 Subject: [PATCH] fixed missing consideration of the box name in menu pip --- .../package/plugin/MenuPackageInstallationPlugin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.20.1