File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -123,9 +123,7 @@ public function getRssData()
123
123
$ title = $ category ->getName ();
124
124
$ data = ['title ' => $ title , 'description ' => $ title , 'link ' => $ newUrl , 'charset ' => 'UTF-8 ' ];
125
125
126
- $ attributes = $ this ->_viewConfig ->getViewConfig ()
127
- ->getMediaAttributes ('Magento_Catalog ' , $ this ->imageHelper ::MEDIA_TYPE_CONFIG_NODE , 'rss_thumbnail ' );
128
-
126
+ $ attributes = $ this ->_viewConfig ->getViewConfig ()->getMediaAttributes ('Magento_Catalog ' , $ this ->imageHelper ::MEDIA_TYPE_CONFIG_NODE , 'rss_thumbnail ' );
129
127
/** @var $product \Magento\Catalog\Model\Product */
130
128
foreach ($ this ->rssModel ->getProductCollection ($ category , $ this ->getStoreId ()) as $ product ) {
131
129
$ product ->setAllowedInRss (true );
You can’t perform that action at this time.
0 commit comments