Return blank string values for string entries that return back null

This commit is contained in:
Akkadius
2020-04-04 04:48:46 -05:00
parent 15c9b64120
commit fe7e850a04
97 changed files with 788 additions and 790 deletions
@@ -155,7 +155,7 @@ public:
entry.total_tribute = atoi(row[4]);
entry.last_tribute = atoi(row[5]);
entry.banker = atoi(row[6]);
entry.public_note = row[7];
entry.public_note = row[7] ? row[7] : "";
entry.alt = atoi(row[8]);
return entry;
@@ -300,7 +300,7 @@ public:
entry.total_tribute = atoi(row[4]);
entry.last_tribute = atoi(row[5]);
entry.banker = atoi(row[6]);
entry.public_note = row[7];
entry.public_note = row[7] ? row[7] : "";
entry.alt = atoi(row[8]);
all_entries.push_back(entry);
@@ -333,7 +333,7 @@ public:
entry.total_tribute = atoi(row[4]);
entry.last_tribute = atoi(row[5]);
entry.banker = atoi(row[6]);
entry.public_note = row[7];
entry.public_note = row[7] ? row[7] : "";
entry.alt = atoi(row[8]);
all_entries.push_back(entry);