Core/Commands: Fix SQL typo in 'list item' command

This commit is contained in:
Fredi
2011-11-04 10:05:27 -02:00
parent dc81555740
commit 18183d494c

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