From: Marcel Werk Date: Wed, 2 Apr 2014 19:34:25 +0000 (+0200) Subject: Fixed page menu issue X-Git-Tag: 2.0.5~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f3c00ecdf3ea5cd233892641977d42397cd0275d;p=GitHub%2FWoltLab%2FWCF.git Fixed page menu issue --- 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();