Skip to content

Commit e0dc00e

Browse files
Merge pull request #17147 to #17133
2 parents 0670ce3 + 4b5f842 commit e0dc00e

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function getElementHtml()
102102
*/
103103
public function getImages()
104104
{
105-
return $this->registry->registry('current_product')->getData('media_gallery') ?: null;
105+
return $this->getDataObject()->getData('media_gallery') ?: null;
106106
}
107107

108108
/**

0 commit comments

Comments
 (0)