[pLog-svn] r6670 - plog/branches/lifetype-1.2/class/dao
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Mon Jun 23 17:57:42 EDT 2008
Author: jondaley
Date: 2008-06-23 17:57:42 -0400 (Mon, 23 Jun 2008)
New Revision: 6670
Modified:
plog/branches/lifetype-1.2/class/dao/article.class.php
Log:
need to initialize our variables
Modified: plog/branches/lifetype-1.2/class/dao/article.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/dao/article.class.php 2008-06-23 21:16:01 UTC (rev 6669)
+++ plog/branches/lifetype-1.2/class/dao/article.class.php 2008-06-23 21:57:42 UTC (rev 6670)
@@ -234,6 +234,7 @@
if( $this->_categories == null ) {
lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
$categories = new ArticleCategories();
+ $this->_categories = Array();
foreach( $this->getCategoryIds() as $categoryId ) {
if(( $category = $categories->getCategory( $categoryId )))
$this->_categories[] = $category;
More information about the pLog-svn
mailing list