Fixed table name
authorAlexander Ebert <ebert@woltlab.com>
Tue, 28 May 2013 19:12:14 +0000 (21:12 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 28 May 2013 19:12:14 +0000 (21:12 +0200)
wcfsetup/install/files/lib/data/user/profile/menu/item/UserProfileMenuItemEditor.class.php

index c52e71f64b9236d2e6f444dd865344a1815bc99f..bac4405a155494d0f2d26cd8c7ec940c19576fd1 100644 (file)
@@ -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);