Skip to content

Commit 735c840

Browse files
committed
RSS model fix
1 parent 0770227 commit 735c840

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Rss/Model/Rss.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ public function createRssXml()
104104
{
105105
$feed = $this->feedFactory->create(
106106
$this->getFeeds(),
107-
FeedFactoryInterface::DEFAULT_FORMAT
107+
FeedFactoryInterface::FORMAT_RSS
108108
);
109109

110110
return $feed->getFormattedContentAs(
111-
FeedInterface::DEFAULT_FORMAT
111+
FeedInterface::FORMAT_RSS
112112
);
113113
}
114114
}

0 commit comments

Comments
 (0)