mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-02 15:20:26 +00:00
Return blank string values for string entries that return back null
This commit is contained in:
@@ -127,7 +127,7 @@ public:
|
||||
if (results.RowCount() == 1) {
|
||||
Launcher entry{};
|
||||
|
||||
entry.name = row[0];
|
||||
entry.name = row[0] ? row[0] : "";
|
||||
entry.dynamics = atoi(row[1]);
|
||||
|
||||
return entry;
|
||||
@@ -244,7 +244,7 @@ public:
|
||||
for (auto row = results.begin(); row != results.end(); ++row) {
|
||||
Launcher entry{};
|
||||
|
||||
entry.name = row[0];
|
||||
entry.name = row[0] ? row[0] : "";
|
||||
entry.dynamics = atoi(row[1]);
|
||||
|
||||
all_entries.push_back(entry);
|
||||
@@ -270,7 +270,7 @@ public:
|
||||
for (auto row = results.begin(); row != results.end(); ++row) {
|
||||
Launcher entry{};
|
||||
|
||||
entry.name = row[0];
|
||||
entry.name = row[0] ? row[0] : "";
|
||||
entry.dynamics = atoi(row[1]);
|
||||
|
||||
all_entries.push_back(entry);
|
||||
|
||||
Reference in New Issue
Block a user