[pLog-svn] r5881 - plugins/branches/lifetype-1.2/recentcomments/class/view

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Thu Aug 30 08:33:32 EDT 2007


Author: jondaley
Date: 2007-08-30 08:33:32 -0400 (Thu, 30 Aug 2007)
New Revision: 5881

Modified:
   plugins/branches/lifetype-1.2/recentcomments/class/view/pluginrecentcommentsrssview.class.php
Log:
typo, no blogId. hadn't actually tested the rss feed after my changes.

Modified: plugins/branches/lifetype-1.2/recentcomments/class/view/pluginrecentcommentsrssview.class.php
===================================================================
--- plugins/branches/lifetype-1.2/recentcomments/class/view/pluginrecentcommentsrssview.class.php	2007-08-30 02:50:11 UTC (rev 5880)
+++ plugins/branches/lifetype-1.2/recentcomments/class/view/pluginrecentcommentsrssview.class.php	2007-08-30 12:33:32 UTC (rev 5881)
@@ -34,13 +34,12 @@
             }
 
             $commentsCommon = new CommentsCommon();
-            $comments = $commentsCommon->getBlogComments( $blogId, COMMENT_ORDER_NEWEST_FIRST,
-                                                          COMMENT_STATUS_NONSPAM, $commentType,
-                                                          "", 1, $maxComments );
-                 
-			$this->setValue("comments", $blogComments);
+            $blogComments = $commentsCommon->getBlogComments($this->_blogInfo->getId(), COMMENT_ORDER_NEWEST_FIRST,
+                                                             COMMENT_STATUS_NONSPAM, $commentType,
+                                                             "", 1, $maxComments );
+            $this->setValue("comments", $blogComments);
             $this->setContentType( 'text/xml' );
-			parent::render();
+            parent::render();
 		}
 
     }



More information about the pLog-svn mailing list