mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Core/GM System: fix tickets saving upon creation (yeah, I just forgot to add saving, sorry) Closes #1284
This commit is contained in:
@@ -263,6 +263,8 @@ void TicketMgr::AddTicket(GmTicket* ticket)
|
||||
_ticketList[ticket->GetId()] = ticket;
|
||||
if (!ticket->IsClosed())
|
||||
++_openTicketCount;
|
||||
SQLTransaction trans = SQLTransaction(NULL);
|
||||
ticket->SaveToDB(trans);
|
||||
}
|
||||
|
||||
void TicketMgr::CloseTicket(uint32 ticketId, int64 source)
|
||||
|
||||
Reference in New Issue
Block a user