// MERGE with 1.4 r7770
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7776 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -169,7 +169,7 @@ class CombinationCore extends ObjectModel
|
||||
$sqlValues = array();
|
||||
foreach ($values as $value)
|
||||
$sqlValues[] = '('.(int)$this->id.', '.(int)$value['id'].')';
|
||||
$result = Db::getInstance()->Execute('
|
||||
Db::getInstance()->Execute('
|
||||
INSERT INTO `'._DB_PREFIX_.'product_attribute_image` (`id_product_attribute`, `id_image`)
|
||||
VALUES '.implode(',', $sqlValues)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user