diff --git a/common/shareddb.cpp b/common/shareddb.cpp index c51b79885..679bffe9d 100644 --- a/common/shareddb.cpp +++ b/common/shareddb.cpp @@ -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()) {