Fixes menu item options not saved in database
authormax-m <maximilian.mader@gmx.de>
Fri, 9 Dec 2011 22:07:32 +0000 (23:07 +0100)
committermax-m <maximilian.mader@gmx.de>
Fri, 9 Dec 2011 22:07:32 +0000 (23:07 +0100)
wcfsetup/install/files/lib/system/package/plugin/AbstractMenuPackageInstallationPlugin.class.php

index 967afab2874d8de4b82e37aaa9b1ff1349cc77b6..1cb55e877c2ca494a737e33be1e51c5d533055a4 100644 (file)
@@ -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