[BugFix] Fix a display error regarding a few trader/buyer query errors (#4514)

This commit is contained in:
Mitch Freeman
2024-10-17 03:43:24 -03:00
committed by GitHub
parent ae198ae043
commit f76c798910
3 changed files with 12 additions and 0 deletions
+4
View File
@@ -120,6 +120,10 @@ public:
}
DeleteWhere(db, fmt::format("`char_id` = '{}';", char_id));
if (buy_line_ids.empty()) {
return false;
}
BaseBuyerBuyLinesRepository::DeleteWhere(
db,
fmt::format("`id` IN({})", Strings::Implode(", ", buy_line_ids))