Prevent false error for product duplication

This commit is contained in:
Axome committed 2013-06-17 10:16:13 +02:00
1 parent 3a5a9dea14
commit 6e383a2d38
1 file changed
+1 -1
+1 -1
View File
@@ -796,7 +796,7 @@ class CategoryCore extends ObjectModel
)).')'; )).')';
$flag = Db::getInstance()->execute(' $flag = Db::getInstance()->execute('
INSERT INTO `'._DB_PREFIX_.'category_product` (`id_product`, `id_category`, `position`) INSERT IGNORE INTO `'._DB_PREFIX_.'category_product` (`id_product`, `id_category`, `position`)
VALUES '.implode(',', $row) VALUES '.implode(',', $row)
); );
return $flag; return $flag;