Merge pull request #3833 from Fredi/listitem

Core/Commands: Fix SQL typo in 'list item' command
This commit is contained in:
Machiavelli
2011-11-05 03:52:28 -07:00

View File

@@ -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);