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 01fbfeb commit ae764ffCopy full SHA for ae764ff
app/code/Magento/Catalog/Model/Product/ProductFrontendAction/Synchronizer.php
@@ -138,8 +138,8 @@ private function getProductIdsByActions(array $actions)
138
$productIds = [];
139
140
foreach ($actions as $action) {
141
- if (isset($action['product_id']) && is_int($action['product_id'])) {
142
- $productIds[] = $action['product_id'];
+ if (isset($action['product_id']) && (int)$action['product_id']) {
+ $productIds[] = (int)$action['product_id'];
143
}
144
145
0 commit comments