// Merge -> revision 8059
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8062 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -199,7 +199,7 @@ class GroupReductionCore extends ObjectModel
|
||||
WHERE pgr.`id_product` = '.(int)$id_product_old
|
||||
);
|
||||
if (!$row)
|
||||
return false;
|
||||
return true;
|
||||
|
||||
$query = 'INSERT INTO `'._DB_PREFIX_.'product_group_reduction_cache` (`id_product`, `id_group`, `reduction`) VALUES ';
|
||||
$query .= '('.(int)($id_product).', '.(int)($row['id_group']).', '.(float)($row['reduction']).')';
|
||||
|
||||
Reference in New Issue
Block a user