From: max-m Date: Fri, 9 Dec 2011 22:07:32 +0000 (+0100) Subject: Fixes menu item options not saved in database X-Git-Tag: 2.0.0_Beta_1~1521^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e04526f168f115aa0e60ba3c4ec3431882a2868;p=GitHub%2FWoltLab%2FWCF.git Fixes menu item options not saved in database --- diff --git a/wcfsetup/install/files/lib/system/package/plugin/AbstractMenuPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/AbstractMenuPackageInstallationPlugin.class.php index 967afab287..1cb55e877c 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/AbstractMenuPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/AbstractMenuPackageInstallationPlugin.class.php @@ -43,7 +43,7 @@ abstract class AbstractMenuPackageInstallationPlugin extends AbstractXMLPackageI return array( 'menuItem' => $data['attributes']['name'], 'menuItemLink' => (isset($data['elements']['link'])) ? $data['elements']['link'] : '', - 'options' => (isset($data['elements']['option'])) ? $data['elements']['options'] : '', + 'options' => (isset($data['elements']['options'])) ? $data['elements']['options'] : '', 'parentMenuItem' => (isset($data['elements']['parent'])) ? $data['elements']['parent'] : '', 'permissions' => (isset($data['elements']['permissions'])) ? $data['elements']['permissions'] : '', 'showOrder' => $showOrder