diff options
Diffstat (limited to 'src/game/Item.cpp')
-rw-r--r-- | src/game/Item.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/Item.cpp b/src/game/Item.cpp index 414ff1839fc..30023f511ab 100644 --- a/src/game/Item.cpp +++ b/src/game/Item.cpp @@ -1055,12 +1055,11 @@ void Item::BuildUpdate(UpdateDataMapType& data_map) ClearUpdateMask(false); } -void Item::SaveRefundDataToDB(uint32 count) +void Item::SaveRefundDataToDB() { std::ostringstream ss; - ss << "REPLACE INTO item_refund_instance VALUES("; + ss << "INSERT INTO item_refund_instance VALUES("; ss << GetGUIDLow() << ","; - ss << count << ", "; ss << GetRefundRecipient() << ","; ss << GetPaidMoney() << ","; ss << GetPaidExtendedCost(); |