Skip to content

Commit

Permalink
Merge branch 'hotfix/3.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mridang Agarwalla committed May 8, 2017
2 parents f1b391d + 394a1e8 commit 516ad37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Object/Product/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ public function setRatingValue($ratingValue)
*/
public function getAlternateImageUrls()
{
return array_diff($this->alternateImageUrls, array($this->getImageUrl()));
return array_values(array_diff($this->alternateImageUrls, array($this->getImageUrl())));
}

/**
Expand Down

0 comments on commit 516ad37

Please sign in to comment.