test for fix
This commit is contained in:
parent
25075ae187
commit
01cc230757
@ -356,9 +356,12 @@ class Criteo_bbb extends Module
|
|||||||
$strproducts = '';
|
$strproducts = '';
|
||||||
|
|
||||||
$id_products = array();
|
$id_products = array();
|
||||||
foreach($params['products'] as $product) {
|
foreach($params['products'] as $delay) {
|
||||||
|
foreach ($delay['products'] as $product) {
|
||||||
$id_products[] = (int) $product['id_product'];
|
$id_products[] = (int) $product['id_product'];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
echo '<pre>';var_dump($params['products'], $id_products);echo '</pre>';die();
|
||||||
$products_sales = array();
|
$products_sales = array();
|
||||||
foreach(Db::getInstance()->ExecuteS('
|
foreach(Db::getInstance()->ExecuteS('
|
||||||
SELECT `id_product`, `id_sale`
|
SELECT `id_product`, `id_sale`
|
||||||
|
Loading…
Reference in New Issue
Block a user