From: Alexander Ebert Date: Tue, 28 May 2013 19:12:14 +0000 (+0200) Subject: Fixed table name X-Git-Tag: 2.0.0_Beta_1~15 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a6ef82903dea0c4654e5d4fc8bff16d629adfb07;p=GitHub%2FWoltLab%2FWCF.git Fixed table name --- 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);