From 1d3a88b48e2668ded2a8b57ef2feadf45c2e77c3 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 4 Jan 2016 13:27:18 +0100 Subject: [PATCH] Fixed box css class name being incorrectly handled --- .../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 e5124a79a6..aab9b37618 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/MenuPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/MenuPackageInstallationPlugin.class.php @@ -121,7 +121,7 @@ class MenuPackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin 'position' => $position, 'showHeader' => (!empty($data['elements']['box']['showheader']) ? 1 : 0), 'visibleEverywhere' => (!empty($data['elements']['box']['visibleeveryhwere']) ? 1 : 0), - 'cssClassName' => (!empty($data['elements']['box']['cssclassname'])), + 'cssClassName' => (!empty($data['elements']['box']['cssclassname'])) ? $data['elements']['box']['cssclassname'] : '', 'originIsSystem' => 1, 'packageID' => $this->installation->getPackageID() ]; -- 2.20.1