From a6ef82903dea0c4654e5d4fc8bff16d629adfb07 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 28 May 2013 21:12:14 +0200 Subject: [PATCH] Fixed table name --- .../user/profile/menu/item/UserProfileMenuItemEditor.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/user/profile/menu/item/UserProfileMenuItemEditor.class.php b/wcfsetup/install/files/lib/data/user/profile/menu/item/UserProfileMenuItemEditor.class.php index c52e71f64b..bac4405a15 100644 --- a/wcfsetup/install/files/lib/data/user/profile/menu/item/UserProfileMenuItemEditor.class.php +++ b/wcfsetup/install/files/lib/data/user/profile/menu/item/UserProfileMenuItemEditor.class.php @@ -106,7 +106,7 @@ class UserProfileMenuItemEditor extends DatabaseObjectEditor implements IEditabl else $showOrder = 1; } else { - $sql = "UPDATE wcf".WCF_N."_page_menu_item + $sql = "UPDATE wcf".WCF_N."_user_profile_menu_item SET showOrder = showOrder + 1 WHERE showOrder >= ?"; $statement = WCF::getDB()->prepareStatement($sql); -- 2.20.1