Rss10Action::showImage() was trying to call pre-uiredesign XML output functions

This commit is contained in:
Zach Copley 2009-01-24 22:08:27 -08:00
parent 40928cd27a
commit e2a965c999

View File

@ -178,11 +178,11 @@ class Rss10Action extends Action
$image = $this->getImage();
if ($image) {
$channel = $this->getChannel();
common_element_start('image', array('rdf:about' => $image));
common_element('title', null, $channel['title']);
common_element('link', null, $channel['link']);
common_element('url', null, $image);
common_element_end('image');
$this->elementStart('image', array('rdf:about' => $image));
$this->element('title', null, $channel['title']);
$this->element('link', null, $channel['link']);
$this->element('url', null, $image);
$this->elementEnd('image');
}
}