diff --git a/src/Object/Product/Product.php b/src/Object/Product/Product.php index 8514f750..c00bbff4 100644 --- a/src/Object/Product/Product.php +++ b/src/Object/Product/Product.php @@ -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()))); } /**