mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-01 06:01:38 +00:00
Return blank string values for string entries that return back null
This commit is contained in:
@@ -142,7 +142,7 @@ public:
|
||||
entry.charid = atoi(row[0]);
|
||||
entry.buyslot = atoi(row[1]);
|
||||
entry.itemid = atoi(row[2]);
|
||||
entry.itemname = row[3];
|
||||
entry.itemname = row[3] ? row[3] : "";
|
||||
entry.quantity = atoi(row[4]);
|
||||
entry.price = atoi(row[5]);
|
||||
|
||||
@@ -272,7 +272,7 @@ public:
|
||||
entry.charid = atoi(row[0]);
|
||||
entry.buyslot = atoi(row[1]);
|
||||
entry.itemid = atoi(row[2]);
|
||||
entry.itemname = row[3];
|
||||
entry.itemname = row[3] ? row[3] : "";
|
||||
entry.quantity = atoi(row[4]);
|
||||
entry.price = atoi(row[5]);
|
||||
|
||||
@@ -302,7 +302,7 @@ public:
|
||||
entry.charid = atoi(row[0]);
|
||||
entry.buyslot = atoi(row[1]);
|
||||
entry.itemid = atoi(row[2]);
|
||||
entry.itemname = row[3];
|
||||
entry.itemname = row[3] ? row[3] : "";
|
||||
entry.quantity = atoi(row[4]);
|
||||
entry.price = atoi(row[5]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user