[pLog-svn] r2457 - plog/trunk/class/dao

oscar at devel.plogworld.net oscar at devel.plogworld.net
Fri Sep 9 12:18:59 GMT 2005


Author: oscar
Date: 2005-09-09 12:18:58 +0000 (Fri, 09 Sep 2005)
New Revision: 2457

Modified:
   plog/trunk/class/dao/articles.class.php
Log:
same as before...


Modified: plog/trunk/class/dao/articles.class.php
===================================================================
--- plog/trunk/class/dao/articles.class.php	2005-09-09 12:17:35 UTC (rev 2456)
+++ plog/trunk/class/dao/articles.class.php	2005-09-09 12:18:58 UTC (rev 2457)
@@ -396,8 +396,11 @@
                                   $searchTerms = "", 
                                   $page        = -1 )
         {
-        	$articles = $this->getArticles( $blogId );        	
+        	$articles = $this->getArticles( $blogId );  
         	
+        	if( !$articles )
+        		$articles = Array();      	
+        	
         	$result = Array();
         	$total = 0;
         	foreach( $articles as $article ) {




More information about the pLog-svn mailing list