Fix typo causing crash in GuildCreateActions SQL

This commit is contained in:
郑佩茹
2022-03-31 10:04:56 -06:00
parent 16ef20cd3e
commit 57e9c81575

View File

@@ -131,7 +131,7 @@ bool PetitionOfferAction::Execute(Event event)
data << petitions.front()->GetGUID();
data << guid;
QueryResult result = CharacterDatabase.Query("SELECT playerguid FROM petition_sign WHERE player_account = {} AND petitionguid = {}'",
QueryResult result = CharacterDatabase.Query("SELECT playerguid FROM petition_sign WHERE player_account = {} AND petitionguid = {}",
player->GetSession()->GetAccountId(), petitions.front()->GetGUID().GetCounter());
if (result)
{