From 068b36e97783d8cea4c63c89328fc022b98dabce Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 6 May 2013 21:59:57 +0200 Subject: [PATCH] Fixes PageMenuItemAction::updatePosition() --- .../files/lib/data/page/menu/item/PageMenuItemAction.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItemAction.class.php b/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItemAction.class.php index c792fc0dd9..86ee719224 100644 --- a/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItemAction.class.php +++ b/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItemAction.class.php @@ -139,7 +139,7 @@ class PageMenuItemAction extends AbstractDatabaseObjectAction implements ISortab foreach ($menuItems as $showOrder => $menuItemID) { $statement->execute(array( ($parentMenuItemID ? $this->menuItems[$parentMenuItemID]->menuItem : ''), - $showOrder, + $showOrder + 1, $menuItemID )); } -- 2.20.1