From 350864de80dadf0d5dabe201138bc6e9416c80af Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 30 Jul 2010 16:01:43 +0200 Subject: [PATCH] Fixed saving new items to database, thx GMKretol for spotting the typo --HG-- branch : trunk --- src/server/game/Entities/Item/Item.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/game/Entities/Item/Item.cpp b/src/server/game/Entities/Item/Item.cpp index 0c2c460cc7..2d0120522b 100644 --- a/src/server/game/Entities/Item/Item.cpp +++ b/src/server/game/Entities/Item/Item.cpp @@ -334,8 +334,8 @@ void Item::SaveToDB() ss << "'," << GetItemRandomPropertyId() << ","; ss << GetUInt32Value(ITEM_FIELD_DURABILITY) << ","; - ss << GetUInt32Value(ITEM_FIELD_CREATE_PLAYED_TIME) << ","; - ss << ",'" << text << "')"; + ss << GetUInt32Value(ITEM_FIELD_CREATE_PLAYED_TIME) << ",'"; + ss << text << "')"; CharacterDatabase.Execute(ss.str().c_str()); }break;