Skip to content

Commit b68802f

Browse files
committed
MAGETWO-95213: Updating Product Status With Mass Action By Scope Updates The Default Value
- Modified store_id validation to take in store_id from filters, when store is null in params.
1 parent 91e6e33 commit b68802f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/MassStatus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function execute()
8787
$filterRequest = $this->getRequest()->getParam('filters', null);
8888
$status = (int) $this->getRequest()->getParam('status');
8989

90-
if (null !== $storeId && null !== $filterRequest) {
90+
if (null === $storeId && null !== $filterRequest) {
9191
$storeId = (isset($filterRequest['store_id'])) ? (int) $filterRequest['store_id'] : 0;
9292
}
9393

0 commit comments

Comments
 (0)