[8765] Fixed typo in last commit.

This commit is contained in:
VladimirMangos 2009-11-02 16:22:52 +03:00
parent d5dad82f3d
commit c90ded3ec3
2 changed files with 2 additions and 2 deletions

View file

@ -842,7 +842,7 @@ void WorldSession::SendMailTo(Player* receiver, uint8 messageType, uint8 station
for(MailItemMap::const_iterator mailItemIter = mi->begin(); mailItemIter != mi->end(); ++mailItemIter) for(MailItemMap::const_iterator mailItemIter = mi->begin(); mailItemIter != mi->end(); ++mailItemIter)
{ {
Item* item = mailItemIter->second; 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(); CharacterDatabase.CommitTransaction();

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8764" #define REVISION_NR "8765"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__