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:
@@ -132,7 +132,7 @@ public:
|
||||
|
||||
entry.id = atoi(row[0]);
|
||||
entry.type = atoi(row[1]);
|
||||
entry.value = row[2];
|
||||
entry.value = row[2] ? row[2] : "";
|
||||
|
||||
return entry;
|
||||
}
|
||||
@@ -250,7 +250,7 @@ public:
|
||||
|
||||
entry.id = atoi(row[0]);
|
||||
entry.type = atoi(row[1]);
|
||||
entry.value = row[2];
|
||||
entry.value = row[2] ? row[2] : "";
|
||||
|
||||
all_entries.push_back(entry);
|
||||
}
|
||||
@@ -277,7 +277,7 @@ public:
|
||||
|
||||
entry.id = atoi(row[0]);
|
||||
entry.type = atoi(row[1]);
|
||||
entry.value = row[2];
|
||||
entry.value = row[2] ? row[2] : "";
|
||||
|
||||
all_entries.push_back(entry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user