mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
Return blank string values for string entries that return back null
This commit is contained in:
@@ -131,8 +131,8 @@ public:
|
||||
AccountFlags entry{};
|
||||
|
||||
entry.p_accid = atoi(row[0]);
|
||||
entry.p_flag = row[1];
|
||||
entry.p_value = row[2];
|
||||
entry.p_flag = row[1] ? row[1] : "";
|
||||
entry.p_value = row[2] ? row[2] : "";
|
||||
|
||||
return entry;
|
||||
}
|
||||
@@ -249,8 +249,8 @@ public:
|
||||
AccountFlags entry{};
|
||||
|
||||
entry.p_accid = atoi(row[0]);
|
||||
entry.p_flag = row[1];
|
||||
entry.p_value = row[2];
|
||||
entry.p_flag = row[1] ? row[1] : "";
|
||||
entry.p_value = row[2] ? row[2] : "";
|
||||
|
||||
all_entries.push_back(entry);
|
||||
}
|
||||
@@ -276,8 +276,8 @@ public:
|
||||
AccountFlags entry{};
|
||||
|
||||
entry.p_accid = atoi(row[0]);
|
||||
entry.p_flag = row[1];
|
||||
entry.p_value = row[2];
|
||||
entry.p_flag = row[1] ? row[1] : "";
|
||||
entry.p_value = row[2] ? row[2] : "";
|
||||
|
||||
all_entries.push_back(entry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user