mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
Return blank string values for string entries that return back null
This commit is contained in:
@@ -128,7 +128,7 @@ public:
|
||||
RuleSets entry{};
|
||||
|
||||
entry.ruleset_id = atoi(row[0]);
|
||||
entry.name = row[1];
|
||||
entry.name = row[1] ? row[1] : "";
|
||||
|
||||
return entry;
|
||||
}
|
||||
@@ -245,7 +245,7 @@ public:
|
||||
RuleSets entry{};
|
||||
|
||||
entry.ruleset_id = atoi(row[0]);
|
||||
entry.name = row[1];
|
||||
entry.name = row[1] ? row[1] : "";
|
||||
|
||||
all_entries.push_back(entry);
|
||||
}
|
||||
@@ -271,7 +271,7 @@ public:
|
||||
RuleSets entry{};
|
||||
|
||||
entry.ruleset_id = atoi(row[0]);
|
||||
entry.name = row[1];
|
||||
entry.name = row[1] ? row[1] : "";
|
||||
|
||||
all_entries.push_back(entry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user