From: Alexander Ebert Date: Mon, 4 Jan 2016 12:27:18 +0000 (+0100) Subject: Fixed box css class name being incorrectly handled X-Git-Tag: 3.0.0_Beta_1~2030^2~172 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1d3a88b48e2668ded2a8b57ef2feadf45c2e77c3;p=GitHub%2FWoltLab%2FWCF.git Fixed box css class name being incorrectly handled --- 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() ];