test for fix

This commit is contained in:
Marion Muszynski 2016-07-28 11:38:11 +02:00
parent 25075ae187
commit 01cc230757

View File

@ -356,9 +356,12 @@ class Criteo_bbb extends Module
$strproducts = '';
$id_products = array();
foreach($params['products'] as $product) {
$id_products[] = (int) $product['id_product'];
foreach($params['products'] as $delay) {
foreach ($delay['products'] as $product) {
$id_products[] = (int) $product['id_product'];
}
}
echo '<pre>';var_dump($params['products'], $id_products);echo '</pre>';die();
$products_sales = array();
foreach(Db::getInstance()->ExecuteS('
SELECT `id_product`, `id_sale`