aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <none@none>2010-07-30 16:01:43 +0200
committerShauren <none@none>2010-07-30 16:01:43 +0200
commit350864de80dadf0d5dabe201138bc6e9416c80af (patch)
tree98e7daef05e9ef8b9af7d98b641ab8ef27704022 /src
parentd666ba26c1a6d06c0697b0c48c0b04ebaa101781 (diff)
Fixed saving new items to database, thx GMKretol for spotting the typo
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Entities/Item/Item.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Entities/Item/Item.cpp b/src/server/game/Entities/Item/Item.cpp
index 0c2c460cc73..2d0120522b8 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;