]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix notice generation in rss channels
authorEvan Prodromou <evan@prodromou.name>
Thu, 22 May 2008 19:14:36 +0000 (15:14 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 22 May 2008 19:14:36 +0000 (15:14 -0400)
darcs-hash:20080522191436-84dde-a24bd6fa5e9d5fc9af03d64d199ad827c8eb38ec.gz

lib/rssaction.php

index 33e158d5c18aad5c93c7373ae9c1b34d24959b12..b52de42b2347465e71b64f2db6f135ccf0eb094a 100644 (file)
@@ -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');
        }