From c36c7db82c7ec2b93efee9dd5a06579059bfc492 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 22 May 2008 15:14:36 -0400 Subject: fix notice generation in rss channels darcs-hash:20080522191436-84dde-a24bd6fa5e9d5fc9af03d64d199ad827c8eb38ec.gz --- lib/rssaction.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/rssaction.php') diff --git a/lib/rssaction.php b/lib/rssaction.php index 33e158d5c..b52de42b2 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'); } -- cgit v1.2.3-54-g00ecf