diff --git a/includes/classes/class.search.php b/includes/classes/class.search.php index e0e343c5a..1a29ea9b2 100644 --- a/includes/classes/class.search.php +++ b/includes/classes/class.search.php @@ -3,7 +3,7 @@ /** * @package World of Warcraft Armory * @version Release 4.50 - * @revision 472 + * @revision 473 * @copyright (c) 2009-2011 Shadez * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @@ -406,7 +406,7 @@ public function PerformAdvancedItemsSearch($count = false) { $icons_holder[$icon['displayid']] = $icon['icon']; } if(Armory::GetLoc() == 0) { - $tmp_names_holder = Armory::$wDB->select("SELECT `entry`, `name` AS `name` FROM `item_template` WHERE `entry` IN (%s)", Armory::GetLoc(), $names_to_add); + $tmp_names_holder = Armory::$wDB->select("SELECT `entry`, `name` AS `name` FROM `item_template` WHERE `entry` IN (%s)", $names_to_add); } else { $tmp_names_holder = Armory::$wDB->select("SELECT `entry`, `name_loc%d` AS `name` FROM `locales_item` WHERE `entry` IN (%s)", Armory::GetLoc(), $names_to_add); diff --git a/includes/revision_nr.php b/includes/revision_nr.php index 10a21a5f0..8393da7ca 100644 --- a/includes/revision_nr.php +++ b/includes/revision_nr.php @@ -1,5 +1,5 @@ \ No newline at end of file