[pLog-svn] r2315 - plog/branches/plog-1.0.2/class/dao
jondaley at devel.plogworld.net
jondaley at devel.plogworld.net
Thu Jul 14 00:11:25 GMT 2005
Author: jondaley
Date: 2005-07-14 00:11:25 +0000 (Thu, 14 Jul 2005)
New Revision: 2315
Modified:
plog/branches/plog-1.0.2/class/dao/articlecategories.class.php
Log:
fixed bug where we were getting the wrong number of categories, only noticeable if you had lots of hidden categories, so I guess that is why no one noticed before
Modified: plog/branches/plog-1.0.2/class/dao/articlecategories.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/dao/articlecategories.class.php 2005-07-13 06:57:20 UTC (rev 2314)
+++ plog/branches/plog-1.0.2/class/dao/articlecategories.class.php 2005-07-14 00:11:25 UTC (rev 2315)
@@ -522,7 +522,7 @@
// conditions
$cond = "blog_id = '".Db::qstr($blogId)."'";
- if( $includeHidden )
+ if( !$includeHidden )
$cond .= " AND in_main_page = 1";
// return the total number
More information about the pLog-svn
mailing list