[pLog-svn] r5278 - plugins/branches/lifetype-1.2/recentcomments
    mark at devel.lifetype.net 
    mark at devel.lifetype.net
       
    Fri Apr  6 11:27:24 EDT 2007
    
    
  
Author: mark
Date: 2007-04-06 11:27:24 -0400 (Fri, 06 Apr 2007)
New Revision: 5278
Modified:
   plugins/branches/lifetype-1.2/recentcomments/pluginrecentcomments.class.php
Log:
Forgot to put the parameters, it will make the $recentcomments return all comments. Stupid bug.
Modified: plugins/branches/lifetype-1.2/recentcomments/pluginrecentcomments.class.php
===================================================================
--- plugins/branches/lifetype-1.2/recentcomments/pluginrecentcomments.class.php	2007-04-06 15:15:31 UTC (rev 5277)
+++ plugins/branches/lifetype-1.2/recentcomments/pluginrecentcomments.class.php	2007-04-06 15:27:24 UTC (rev 5278)
@@ -61,7 +61,7 @@
 
             $blogId = $this->blogInfo->getId();
             $articleComments = new ArticleComments();
-            $comments = $articleComments->getBlogComments( $blogId );
+            $comments = $articleComments->getBlogComments( $blogId, COMMENT_ORDER_NEWEST_FIRST, COMMENT_STATUS_NONSPAM, "", 1, $this->maxComments );
 
             return( $comments );
         }
    
    
More information about the pLog-svn
mailing list