File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/CatalogImportExport/Model/Export Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -546,14 +546,14 @@ protected function getMediaGallery(array $productIds)
546
546
'mgv.store_id ' ,
547
547
]
548
548
)->where (
549
- "mgvte. { $ this -> getProductEntityLinkField ()} IN (?) " ,
549
+ "mgvte. $ productEntityJoinField IN (?) " ,
550
550
$ productIds
551
551
);
552
552
553
553
$ rowMediaGallery = [];
554
554
$ stmt = $ this ->_connection ->query ($ select );
555
555
while ($ mediaRow = $ stmt ->fetch ()) {
556
- $ rowMediaGallery [$ mediaRow [$ this -> getProductEntityLinkField () ]][] = [
556
+ $ rowMediaGallery [$ mediaRow [$ productEntityJoinField ]][] = [
557
557
'_media_attribute_id ' => $ mediaRow ['attribute_id ' ],
558
558
'_media_image ' => $ mediaRow ['filename ' ],
559
559
'_media_label ' => $ mediaRow ['label ' ],
You can’t perform that action at this time.
0 commit comments