summaryrefslogtreecommitdiff
path: root/modules/comment/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r--modules/comment/helpers/comment_theme.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/comment/helpers/comment_theme.php b/modules/comment/helpers/comment_theme.php
index 4b9b1c4e..5618d9fc 100644
--- a/modules/comment/helpers/comment_theme.php
+++ b/modules/comment/helpers/comment_theme.php
@@ -27,6 +27,7 @@ class comment_theme_Core {
$block = new Block;
$block->css_id = "gComments";
$block->anchor = t("comments");
+ $block->title = t("Comments");
$view = new View("comments.html");
$view->comments = ORM::factory("comment")
@@ -35,8 +36,6 @@ class comment_theme_Core {
->orderby("created", "ASC")
->find_all();
- $block->title = $view->comments->count() ?
- t("Comments") : t("No comments yet. Be the first to comment!");
$block->content = $view;
$block->content .= comment::get_add_form($theme->item())->render("form.html");
return $block;