Skip to content

Commit 2ea37a8

Browse files
author
saphal
committed
updated code
1 parent 774164c commit 2ea37a8

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

app/code/Magento/Review/Model/ResourceModel/Rating.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ public function getReviewSummary($object, $onlyForCurrentStore = true)
429429

430430
if ($onlyForCurrentStore) {
431431
foreach ($data as $row) {
432-
if (!$row['store_id'] == NULL) {
432+
if (!$row['store_id'] == $currentStore) {
433433
$object->addData($row);
434434
}
435435
}

0 commit comments

Comments
 (0)