Skip to content

Commit

Permalink
CO: fix save index
Browse files Browse the repository at this point in the history
  • Loading branch information
aleeks committed Feb 2, 2017
1 parent 1c0193e commit f8970da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Search.php
Expand Up @@ -760,7 +760,7 @@ protected static function saveIndex(&$queryArray3)
if (is_array($queryArray3) && !empty($queryArray3)) {
Db::getInstance()->execute(
'INSERT INTO '._DB_PREFIX_.'search_index (id_product, id_word, weight)
VALUES '.implode(',', array_map('intval', $queryArray3)).'
VALUES '.implode(',', $queryArray3).'
ON DUPLICATE KEY UPDATE weight = weight + VALUES(weight)', false
);
}
Expand Down

0 comments on commit f8970da

Please sign in to comment.