From: Zach Copley Date: Sun, 25 Jan 2009 06:08:27 +0000 (-0800) Subject: Rss10Action::showImage() was trying to call pre-uiredesign XML output functions X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e2a965c999e1d8096195d063c808a15759ecf5c6;p=quix0rs-gnu-social.git Rss10Action::showImage() was trying to call pre-uiredesign XML output functions --- diff --git a/lib/rssaction.php b/lib/rssaction.php index f19c8e1c54..2bd7f1f19d 100644 --- a/lib/rssaction.php +++ b/lib/rssaction.php @@ -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'); } }