[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
@@ -217,6 +217,10 @@ public:
delete_ids.push_back(std::to_string(e.id));
}
if (delete_ids.empty()) {
return 0;
}
return DeleteWhere(db, fmt::format("`id` IN({})", Strings::Implode(",", delete_ids)));
}
};