Skip to content

Commit ef813ac

Browse files
committed
AC-2765::Page Builder Error When Add Product List With Admin User Scope Limitation
1 parent 6f643b4 commit ef813ac

File tree

1 file changed

+4
-4
lines changed
  • app/code/Magento/Review/Model/ResourceModel/Review/Summary

1 file changed

+4
-4
lines changed

app/code/Magento/Review/Model/ResourceModel/Review/Summary/Collection.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ public function addEntityFilter($entityId, $entityType = 1)
3939
/**
4040
* Add store filter
4141
*
42-
* @param int $storeId
42+
* @param int|array $storeId
4343
* @return $this
4444
*/
45-
public function addStoreFilter($storeId)
45+
public function addStoreFilter(int|array $storeId)
4646
{
4747
if (is_numeric($storeId)) {
48-
$this->_select->where('store_id IN ?', $storeId);
48+
$this->_select->where('store_id = ?', $storeId);
4949
} else {
5050
$this->_select->where('store_id IN (?)', $storeId);
5151
}
52-
52+
5353
return $this;
5454
}
5555

0 commit comments

Comments
 (0)