diff --git a/src/game/Mail.cpp b/src/game/Mail.cpp index 42abda90f..1ccae40e2 100644 --- a/src/game/Mail.cpp +++ b/src/game/Mail.cpp @@ -842,7 +842,7 @@ void WorldSession::SendMailTo(Player* receiver, uint8 messageType, uint8 station for(MailItemMap::const_iterator mailItemIter = mi->begin(); mailItemIter != mi->end(); ++mailItemIter) { Item* item = mailItemIter->second; - CharacterDatabase.PExecute("INSERT INTO mail_items (mail_id,item_guid,item_template,receiver) VALUES ('%u', '%u', '%u','%u')", mailId, item->GetGUIDLow(), item->GetEntry(), item->GetGUIDLow()); + CharacterDatabase.PExecute("INSERT INTO mail_items (mail_id,item_guid,item_template,receiver) VALUES ('%u', '%u', '%u','%u')", mailId, item->GetGUIDLow(), item->GetEntry(), receiver_guidlow); } } CharacterDatabase.CommitTransaction(); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index cf542c056..5a883329e 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8764" + #define REVISION_NR "8765" #endif // __REVISION_NR_H__