[pLog-svn] r1618 - plog/trunk/class/dao
ork at devel.plogworld.net
ork at devel.plogworld.net
Sat Mar 26 23:38:34 GMT 2005
Author: ork
Date: 2005-03-26 23:38:34 +0000 (Sat, 26 Mar 2005)
New Revision: 1618
Modified:
plog/trunk/class/dao/articlecategories.class.php
Log:
num_articles might be NULL
Modified: plog/trunk/class/dao/articlecategories.class.php
===================================================================
--- plog/trunk/class/dao/articlecategories.class.php 2005-03-26 23:09:59 UTC (rev 1617)
+++ plog/trunk/class/dao/articlecategories.class.php 2005-03-26 23:38:34 UTC (rev 1618)
@@ -91,6 +91,8 @@
return false;
$row = $result->FetchRow($result);
+ if( !array_key_exists('num_articles', $row) )
+ $row['num_articles'] = 0;
$category = $this->_fillCategoryInformation( $row );
$categoryId = $category->getId();
More information about the pLog-svn
mailing list