]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Rss10Action::showImage() was trying to call pre-uiredesign XML output functions
authorZach Copley <zach@controlyourself.ca>
Sun, 25 Jan 2009 06:08:27 +0000 (22:08 -0800)
committerZach Copley <zach@controlyourself.ca>
Sun, 25 Jan 2009 06:08:27 +0000 (22:08 -0800)
lib/rssaction.php

index f19c8e1c546ffed838942d631e20e6791719835b..2bd7f1f19dcb18b338a43f01c0eb387eeb687506 100644 (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');
         }
     }