From f3c00ecdf3ea5cd233892641977d42397cd0275d Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 2 Apr 2014 21:34:25 +0200 Subject: [PATCH] Fixed page menu issue --- .../install/files/lib/acp/form/PageMenuItemAddForm.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/acp/form/PageMenuItemAddForm.class.php b/wcfsetup/install/files/lib/acp/form/PageMenuItemAddForm.class.php index 092e0894c8..71ffe918e1 100644 --- a/wcfsetup/install/files/lib/acp/form/PageMenuItemAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/PageMenuItemAddForm.class.php @@ -215,7 +215,8 @@ class PageMenuItemAddForm extends AbstractForm { 'menuItemLink' => ($this->menuItemController ? $this->menuItemParameters : $this->menuItemLink), 'menuPosition' => $this->menuPosition, 'parentMenuItem' => $this->parentMenuItem, - 'showOrder' => $this->showOrder + 'showOrder' => $this->showOrder, + 'menuItem' => StringUtil::getRandomID() )))); $this->objectAction->executeAction(); @@ -234,6 +235,7 @@ class PageMenuItemAddForm extends AbstractForm { // update i18n values $menuItemEditor = new PageMenuItemEditor($menuItem); $menuItemEditor->update($data); + PageMenuItemEditor::resetCache(); // call saved event $this->saved(); -- 2.20.1