Core/PlayerDump: Fixed dumping empty binary fields. (#28376)

This commit is contained in:
DeadMouse
2022-10-18 12:19:52 +03:00
committed by GitHub
parent 1a1737b7cc
commit 429a7e75f3

View File

@@ -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 << '\'' << '\'';
}
}