We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a047c76 commit ba33e4dCopy full SHA for ba33e4d
app/code/Magento/CatalogInventory/Model/Indexer/Stock/CacheCleaner.php
@@ -176,7 +176,7 @@ private function getCategoryIdsByProductIds(array $productIds): array
176
$categoryProductTable = $this->resource->getTableName('catalog_category_product');
177
$select = $this->getConnection()->select()
178
->from(['catalog_category_product' => $categoryProductTable], ['category_id'])
179
- ->where('product_id IN (?)', $productIds);
+ ->where('product_id IN (?)', $productIds, \Zend_Db::INT_TYPE);
180
181
return $this->getConnection()->fetchCol($select);
182
}
0 commit comments