mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core/PlayerDump: Fixed dumping empty binary fields. (#28376)
This commit is contained in:
@@ -640,7 +640,11 @@ inline void AppendTableDump(StringTransaction& trans, TableStruct const& tableSt
|
||||
else
|
||||
{
|
||||
std::vector<uint8> b(fields[i].GetBinary());
|
||||
ss << "0x" << ByteArrayToHexStr(b);
|
||||
|
||||
if (!b.empty())
|
||||
ss << "0x" << ByteArrayToHexStr(b);
|
||||
else
|
||||
ss << '\'' << '\'';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user