File tree 1 file changed +2
-1
lines changed 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 9
9
namespace Magento \Rss \Model ;
10
10
11
11
use Magento \Framework \App \CacheInterface ;
12
+ use Magento \Framework \App \FeedFactoryInterface ;
12
13
use Magento \Framework \App \ObjectManager ;
13
14
use Magento \Framework \App \Rss \DataProviderInterface ;
14
15
use Magento \Framework \Exception \InputException ;
15
16
use Magento \Framework \Exception \RuntimeException ;
16
17
use Magento \Framework \Serialize \SerializerInterface ;
17
- use Magento \Framework \App \FeedFactoryInterface ;
18
18
19
19
/**
20
20
* Provides functionality to work with RSS feeds
@@ -79,6 +79,7 @@ public function getFeeds()
79
79
return $ this ->serializer ->unserialize ($ cache );
80
80
}
81
81
82
+ // serializing data to make sure all Phrase objects converted to a string
82
83
$ serializedData = $ this ->serializer ->serialize ($ this ->dataProvider ->getRssData ());
83
84
84
85
if ($ cacheKey && $ cacheLifeTime ) {
You can’t perform that action at this time.
0 commit comments