Fixed issue in page menu administration
authorMarcel Werk <burntime@woltlab.com>
Fri, 26 Apr 2013 14:42:33 +0000 (16:42 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 26 Apr 2013 14:42:33 +0000 (16:42 +0200)
wcfsetup/install/files/lib/acp/form/PageMenuItemEditForm.class.php

index cb3382a739599efe1ccc805c01776ffa65c61fca..eb3c43a1a4ed5a665e871d0acea94a839c8546b3 100644 (file)
@@ -103,7 +103,8 @@ class PageMenuItemEditForm extends PageMenuItemAddForm {
                        'isDisabled' => ($this->isDisabled) ? 1 : 0,
                        'menuItemController' => $this->menuItemController,
                        'menuItemLink' => $this->menuItemLink,
-                       'parentMenuItem' => ($this->menuItem->menuPosition == 'header' ? $this->parentMenuItem : ''),
+                       'parentMenuItem' => ($this->menuPosition == 'header' ? $this->parentMenuItem : ''),
+                       'menuPosition' => $this->menuPosition,
                        'showOrder' => $this->showOrder
                )));
                $this->objectAction->executeAction();