diff --git a/lib/rssaction.php b/lib/rssaction.php index 33e158d5c1..b52de42b23 100644 --- a/lib/rssaction.php +++ b/lib/rssaction.php @@ -83,12 +83,14 @@ class Rss10Action extends Action { common_element_start('items'); common_element_start('rdf:Seq'); - foreach ($notices as $n) { + + foreach ($notices as $notice) { common_element('rdf:li', array('rdf:resource' => $notice->uri)); } common_element_end('rdf:Seq'); common_element_end('items'); + common_element_end('channel'); }