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