[Hotfix] Fix query error in character_evolving_items

This commit is contained in:
Akkadius 2025-01-20 23:21:37 -06:00
parent 75698a809f
commit 1a27127c39

View File

@ -661,7 +661,7 @@ bool SharedDatabase::GetInventory(Client *c)
// Retrieve character inventory
auto results = InventoryRepository::GetWhere(*this, fmt::format("`charid` = '{}' ORDER BY `slotid`", char_id));
auto e_results = CharacterEvolvingItemsRepository::GetWhere(
*this, fmt::format("`char_id` = '{}' AND `deleted_at` IS NULL", char_id)
*this, fmt::format("`character_id` = '{}' AND `deleted_at` IS NULL", char_id)
);
if (results.empty()) {