diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery.php index 0557a215383d3..6cb6f0e526e9f 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery.php @@ -117,7 +117,7 @@ public function getContentHtml() $content->setId($this->getHtmlId() . '_content')->setElement($this); $content->setFormName($this->formName); $galleryJs = $content->getJsObjectName(); - $content->getUploader()->getConfig()->setMegiaGallery($galleryJs); + $content->getUploader()->getConfig()->setMediaGallery($galleryJs); return $content->toHtml(); }