From: Marcel Werk Date: Thu, 10 Mar 2016 23:55:10 +0000 (+0100) Subject: Fixed issues in menu item creation X-Git-Tag: 3.0.0_Beta_1~2030^2~35 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=810c8875376dfa9450cfdc5444285b095ef48386;p=GitHub%2FWoltLab%2FWCF.git Fixed issues in menu item creation --- diff --git a/wcfsetup/install/files/lib/acp/form/MenuItemAddForm.class.php b/wcfsetup/install/files/lib/acp/form/MenuItemAddForm.class.php index 93196fcd25..3fd3800e21 100644 --- a/wcfsetup/install/files/lib/acp/form/MenuItemAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/MenuItemAddForm.class.php @@ -185,7 +185,8 @@ class MenuItemAddForm extends AbstractForm { 'menuID' => $this->menuID, 'parentItemID' => $this->parentItemID, 'showOrder' => $this->showOrder, - 'identifier' => StringUtil::getRandomID() + 'identifier' => StringUtil::getRandomID(), + 'packageID' => 1 ])]); $this->objectAction->executeAction(); diff --git a/wcfsetup/install/files/lib/data/menu/item/MenuItemEditor.class.php b/wcfsetup/install/files/lib/data/menu/item/MenuItemEditor.class.php index ae70bf4373..6ab86c0177 100644 --- a/wcfsetup/install/files/lib/data/menu/item/MenuItemEditor.class.php +++ b/wcfsetup/install/files/lib/data/menu/item/MenuItemEditor.class.php @@ -1,6 +1,8 @@ reset(); + } }