/blog/index.php |
---|
32,7 → 32,7 |
$post = $page->getBlogPost($id); |
$comment_count = 0; |
$ids = $this->findIDs('BlogPosts', 'WHERE ParentID=' . $id); |
$ids = $page->findIDs('BlogPosts', 'WHERE ParentID=' . $id); |
for ($i = 0; $i < count($ids); $i++) |
{ |
$comment_count++; |