We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79895c4 commit c87b0deCopy full SHA for c87b0de
app/code/Magento/Catalog/Block/Product/View/Gallery.php
@@ -25,7 +25,7 @@ public function getGalleryImages()
25
$product = $this->getProduct();
26
$images = $product->getMediaGalleryImages();
27
if ($images instanceof \Magento\Framework\Data\Collection) {
28
- foreach ($images as &$image) {
+ foreach ($images as $image) {
29
/* @var \Magento\Framework\DataObject $image */
30
$image->setData(
31
'small_image_url',
0 commit comments