mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Merge pull request #3833 from Fredi/listitem
Core/Commands: Fix SQL typo in 'list item' command
This commit is contained in:
@@ -526,7 +526,7 @@ bool ChatHandler::HandleListItemCommand(const char *args)
|
||||
"SELECT ah.itemguid, ah.itemowner, c.account, c.name FROM auctionhouse ah "
|
||||
"INNER JOIN characters c ON c.guid = ah.itemowner "
|
||||
"INNER JOIN item_instance ii ON ii.guid = ah.itemguid "
|
||||
"WHERE ii.itemEntry = '%u' AND LIMIT %u", item_id, count);
|
||||
"WHERE ii.itemEntry = '%u' LIMIT %u", item_id, count);
|
||||
}
|
||||
else
|
||||
result = QueryResult(NULL);
|
||||
|
||||
Reference in New Issue
Block a user