From: Evan Prodromou Date: Thu, 22 May 2008 19:14:36 +0000 (-0400) Subject: fix notice generation in rss channels X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c36c7db82c7ec2b93efee9dd5a06579059bfc492;p=quix0rs-gnu-social.git fix notice generation in rss channels darcs-hash:20080522191436-84dde-a24bd6fa5e9d5fc9af03d64d199ad827c8eb38ec.gz --- 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'); }