Skip to content

Commit

Permalink
updated code
Browse files Browse the repository at this point in the history
  • Loading branch information
saphal authored and saphaljha committed Nov 23, 2018
1 parent 9c59356 commit fd4dd39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Review/Model/ResourceModel/Rating.php
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ public function getReviewSummary($object, $onlyForCurrentStore = true)

if ($onlyForCurrentStore) {
foreach ($data as $row) {
if (!$row['store_id'] == NULL) {
if (!$row['store_id'] == $currentStore) {
$object->addData($row);
}
}
Expand Down

0 comments on commit fd4dd39

Please sign in to comment.