[pLog-svn] r1843 - plog/branches/plog-1.0.1/class/dao

mark at devel.plogworld.net mark at devel.plogworld.net
Fri Apr 15 08:45:21 GMT 2005


Author: mark
Date: 2005-04-15 08:45:21 +0000 (Fri, 15 Apr 2005)
New Revision: 1843

Modified:
   plog/branches/plog-1.0.1/class/dao/articlecategories.class.php
Log:
Lack of category decsription in getBlogCategories() function. Reported by http://forum.plogworld.org.tw/viewtopic.php?t=445

Modified: plog/branches/plog-1.0.1/class/dao/articlecategories.class.php
===================================================================
--- plog/branches/plog-1.0.1/class/dao/articlecategories.class.php	2005-04-15 07:59:02 UTC (rev 1842)
+++ plog/branches/plog-1.0.1/class/dao/articlecategories.class.php	2005-04-15 08:45:21 UTC (rev 1843)
@@ -161,7 +161,7 @@
 			$prefix = $this->getPrefix();		
 			$query = "SELECT c.id AS id, c.name AS name, c.url AS url, c.blog_id AS blog_id, 
 				          c.last_modification AS last_modification, c.in_main_page AS in_main_page, 
-						  c.parent_id AS parent_id, c.properties AS properties, 
+						  c.parent_id AS parent_id, c.description AS description, c.properties AS properties, 
 						  c.mangled_name AS mangled_name, IF(a.id IS NULL, 0, COUNT(*)) AS num_articles, a.date AS last_update 
 						  FROM {$prefix}articles_categories c LEFT JOIN {$prefix}article_categories_link l
 						  ON c.id=l.category_id LEFT JOIN {$prefix}articles a ON a.id = l.article_id 




More information about the pLog-svn mailing list