Fix tests on PHP 5.4

This commit is contained in:
Romain Neutron
2012-09-27 02:47:59 +02:00
parent c8e0f05494
commit 3f9dc687dc
15 changed files with 36 additions and 52 deletions

View File

@@ -361,7 +361,7 @@ class Feed_XML_RSS extends Feed_XML_Abstract implements Feed_XML_Interface
*
*/
foreach ($entry->get_content() as $content) {
$this->addContent($document, $item, $content);
$this->addContent($document, $item, $entry, $content);
}
return $item;