Skip to content

Commit

Permalink
Merge branch 'refs/heads/master' into demo
Browse files Browse the repository at this point in the history
  • Loading branch information
David McReynolds committed Mar 9, 2012
2 parents 0055511 + 80ece29 commit 83d95c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fuel/modules/blog/libraries/Fuel_blog.php
Expand Up @@ -423,6 +423,7 @@ function get_post_count($category = NULL)
{
$where[$tables['blog_posts'].'.published'] = 'yes';
$where[$tables['blog_categories'].'.name'] = $category;
$this->_CI->blog_posts_model->_common_query();
$cnt = $this->_CI->blog_posts_model->record_count($where);
}
else
Expand Down

0 comments on commit 83d95c1

Please sign in to comment.