Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9.5
-
Fix Version/s: 1.9.6
-
Component/s: Zend_Feed_Reader
-
Labels:None
Description
When importing the following feed:
http://vermontdailynews.com/feed/atom/
and then iterating through the Entries and calling getCommentCount() on each, I get the following error:
Fatal error: Call to undefined function getCommentCount() in path\to\library\Zend\Feed\Reader\Entry\Atom.php on line 298
Hi,
There was a typo in Zend_Feed_Reader_Entry_Atom on line 298:
$commentcount = $this->getExtension('Thread')>getCommentCount();
Attached patch fixes the issue:
$commentcount = $this->getExtension('Thread')->getCommentCount();