mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 10:00:02 +01:00
Fix typo causing crash in GuildCreateActions SQL
This commit is contained in:
parent
16ef20cd3e
commit
57e9c81575
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user