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

oscar at devel.plogworld.net oscar at devel.plogworld.net
Mon Feb 28 21:18:58 GMT 2005


Author: oscar
Date: 2005-02-28 21:18:57 +0000 (Mon, 28 Feb 2005)
New Revision: 1261

Modified:
   plog/trunk/class/dao/articlecategory.class.php
Log:
fixed one small issue

Modified: plog/trunk/class/dao/articlecategory.class.php
===================================================================
--- plog/trunk/class/dao/articlecategory.class.php	2005-02-28 21:17:54 UTC (rev 1260)
+++ plog/trunk/class/dao/articlecategory.class.php	2005-02-28 21:18:57 UTC (rev 1261)
@@ -161,7 +161,7 @@
 		 */
 		function getArticles( $status = POST_STATUS_PUBLISHED )
 		{
-			if( !is_array( $this->_articles[$status] || $this->_articles[$status] == null ) {
+			if( !is_array( $this->_articles[$status] ) || $this->_articles[$status] == null ) {
 				$articles = new Articles();
 				// you've got to love these huge method calls...
 				$this->_articles = $articles->getBlogArticles( $this->getBlogId(), 




More information about the pLog-svn mailing list