mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
Fix Merge error
This commit is contained in:
parent
ea642ee5cf
commit
989953a56d
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ void WorldSession::HandlePetitionShowSignOpcode(WorldPacket& recv_data)
|
||||||
// solve (possible) some strange compile problems with explicit use GUID_LOPART(petitionguid) at some GCC versions (wrong code optimization in compiler?)
|
// solve (possible) some strange compile problems with explicit use GUID_LOPART(petitionguid) at some GCC versions (wrong code optimization in compiler?)
|
||||||
uint32 petitionguid_low = petitionguid.GetCounter();
|
uint32 petitionguid_low = petitionguid.GetCounter();
|
||||||
|
|
||||||
QueryResult* result = CharacterDatabase.PQuery("SELECT `type` FROM `petition` WHERE `petitionguid` = '%u'", petitionguid_low);
|
QueryResult* result = CharacterDatabase.PQuery("SELECT 1 FROM `petition` WHERE `petitionguid` = '%u'", petitionguid_low);
|
||||||
if (!result)
|
if (!result)
|
||||||
{
|
{
|
||||||
sLog.outError("any petition on server...");
|
sLog.outError("any petition on server...");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue