[pLog-svn] r5876 - plog/branches/lifetype-1.2/class/view

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Wed Aug 29 20:45:44 EDT 2007


Author: jondaley
Date: 2007-08-29 20:45:44 -0400 (Wed, 29 Aug 2007)
New Revision: 5876

Modified:
   plog/branches/lifetype-1.2/class/view/blogview.class.php
Log:
only get categories that are supposed to show in the main page

Modified: plog/branches/lifetype-1.2/class/view/blogview.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/view/blogview.class.php	2007-08-29 23:54:46 UTC (rev 5875)
+++ plog/branches/lifetype-1.2/class/view/blogview.class.php	2007-08-30 00:45:44 UTC (rev 5876)
@@ -188,7 +188,7 @@
 			$categoryOrder = $blogSettings->getValue( 'categories_order' );
         	$categories = new ArticleCategories();
 			// we want a list with all the categories, sorted in the way that was configured
-            $categories = $categories->getBlogCategories( $this->_blogInfo->getId(), false, $categoryOrder );
+            $categories = $categories->getBlogCategories( $this->_blogInfo->getId(), true, $categoryOrder );
             
             return $categories;
         }



More information about the pLog-svn mailing list