[Bug Fix] Escape barter buy line search text (#5140)
Build / Linux (push) Canceled after 0s
Build / Windows (push) Canceled after 0s

This commit is contained in:
straps-eq authored and GitHub committed 2026-11-17 23:27:19 -08:00
1 parent 202a316f81
commit 2de1c08d63
2 files changed
+2 -2

No files matched your search

@@ -236,7 +236,7 @@ public:
)
{
BuyerLineSearch_Struct all_entries{};
std::string where_clause(fmt::format("`item_name` LIKE \"%{}%\" ", search_string));
std::string where_clause(fmt::format("`item_name` LIKE \"%{}%\" ", Strings::Escape(search_string)));
if (char_id) {
where_clause += fmt::format("AND `char_id` = '{}' ", char_id);