fix(Core/Ticket): close & resolve by console -1 (#5326)

This commit is contained in:
Kitzunu
2021-04-27 15:43:40 +02:00
committed by GitHub
parent 360c1b6383
commit 21f61b5641
2 changed files with 7 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ void GmTicket::SaveToDB(SQLTransaction& trans) const
stmt->setFloat (++index, _posY);
stmt->setFloat (++index, _posZ);
stmt->setUInt32(++index, uint32(_lastModifiedTime));
stmt->setInt32 (++index, _closedBy.GetCounter());
stmt->setInt32 (++index, int32(_closedBy.GetCounter()));
stmt->setUInt32(++index, _assignedTo.GetCounter());
stmt->setString(++index, _comment);
stmt->setString(++index, _response);
@@ -87,7 +87,7 @@ void GmTicket::SaveToDB(SQLTransaction& trans) const
stmt->setUInt8 (++index, uint8(_escalatedStatus));
stmt->setBool (++index, _viewed);
stmt->setBool (++index, _needMoreHelp);
stmt->setInt32 (++index, _resolvedBy.GetCounter());
stmt->setInt32 (++index, int32(_resolvedBy.GetCounter()));
CharacterDatabase.ExecuteOrAppend(trans, stmt);
}