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
@@ -135,7 +135,7 @@ public:
entry.id = atoi(row[0]);
entry.value = atoi(row[1]);
entry.zone = row[2];
entry.zone = row[2] ? row[2] : "";
entry.instance_id = atoi(row[3]);
return entry;
@@ -254,7 +254,7 @@ public:
entry.id = atoi(row[0]);
entry.value = atoi(row[1]);
entry.zone = row[2];
entry.zone = row[2] ? row[2] : "";
entry.instance_id = atoi(row[3]);
all_entries.push_back(entry);
@@ -282,7 +282,7 @@ public:
entry.id = atoi(row[0]);
entry.value = atoi(row[1]);
entry.zone = row[2];
entry.zone = row[2] ? row[2] : "";
entry.instance_id = atoi(row[3]);
all_entries.push_back(entry);