[pLog-svn] r2590 - plog/branches/plog-1.0.2/class/dao/
Jon Daley
plogworld at jon.limedaley.com
Mon Nov 14 21:29:49 GMT 2005
The svn list seems to be odd - maybe I need to change my
subversion repository to lifetype, instead of plogworld?
Anyway, I made this change to getBlogCategories in
articlecategories.class.php
- WHERE c.blog_id = '".Db::qstr($blogId)."'";
+ WHERE c.blog_id = '".Db::qstr($blogId)."' AND a.status = ".POST_STATUS_PUBLISHED;
Without this change, the category order functions check draft
posts, etc.
There are a couple people who call this function, though I think
only one place should be calling it, and the others should be calling
getBlogCategoriesAdmin, does that sound correct? In other words, should
admin pages be calling the non-admin version of this function?
More information about the pLog-svn
mailing list