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

oscar at devel.plogworld.net oscar at devel.plogworld.net
Tue Mar 22 18:34:28 GMT 2005


Author: oscar
Date: 2005-03-22 18:34:27 +0000 (Tue, 22 Mar 2005)
New Revision: 1576

Modified:
   plog/trunk/class/dao/articlecategory.class.php
Log:
looks like today is the day of the embarrassing mistakes... :)

Modified: plog/trunk/class/dao/articlecategory.class.php
===================================================================
--- plog/trunk/class/dao/articlecategory.class.php	2005-03-22 17:30:45 UTC (rev 1575)
+++ plog/trunk/class/dao/articlecategory.class.php	2005-03-22 18:34:27 UTC (rev 1576)
@@ -37,6 +37,7 @@
 			$this->_description = $description;
 			$this->_lastModification = new Timestamp($lastModification);
 			$this->_articles = Array();
+			$this->_numArticles = Array();
 		}
 
         /**
@@ -156,7 +157,7 @@
 				$this->_numArticles[$status] = $categories->getNumArticlesCategory( $this->getId(), $origStatus );
 			}
 			
-			return( $this->_numArticles[$status] );		
+			return( $this->_numArticles[$status] );
         }
 		
 		/**




More information about the pLog-svn mailing list