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:
illusion
2013-05-11 11:19:57 +02:00
committed by Shauren
parent 77d4acc776
commit f4b83273ec
4 changed files with 22 additions and 6 deletions

View File

@@ -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;
}