Skip to content

Commit fd4dd39

Browse files
saphalsaphaljha
authored andcommitted
updated code
1 parent 9c59356 commit fd4dd39

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)