diff --git a/modules/ant_wp/AdminAntWp.php b/modules/ant_wp/AdminAntWp.php index e6d0da7e..50b58911 100644 --- a/modules/ant_wp/AdminAntWp.php +++ b/modules/ant_wp/AdminAntWp.php @@ -159,7 +159,7 @@ class AdminAntWp extends AdminTab } $ids[] = (int)$row['id_product']; } - $new_products = count($ids) - $product_found; + $new_products = count($products) - $product_found; if(!empty($ids)){ foreach (Db::getInstance()->executeS(' SELECT p.`ean13`, p.`supplier_reference`, pl.*