Fixed box css class name being incorrectly handled
authorAlexander Ebert <ebert@woltlab.com>
Mon, 4 Jan 2016 12:27:18 +0000 (13:27 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 4 Jan 2016 12:27:27 +0000 (13:27 +0100)
wcfsetup/install/files/lib/system/package/plugin/MenuPackageInstallationPlugin.class.php

index e5124a79a681aeb7fcac7b040c2be0fb3300dbb7..aab9b3761828c9b260ac9c1d31e4b46b7ffc661d 100644 (file)
@@ -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()
                        ];