mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 05:43:12 +01:00
Core/Tickets
* Fixed .ticket complete command not marking tickets as completed * Fixed "Need more help" button functionality after ticket has been answered by a GM Closes #9383
This commit is contained in:
@@ -235,6 +235,10 @@ public:
|
||||
if (player->IsInWorld())
|
||||
ticket->SendResponse(player->GetSession());
|
||||
|
||||
SQLTransaction trans = SQLTransaction(NULL);
|
||||
ticket->SetCompleted();
|
||||
ticket->SaveToDB(trans);
|
||||
|
||||
sTicketMgr->UpdateLastChange();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user