diff --git a/ext/comment/theme.php b/ext/comment/theme.php index 264cd67b..3e2f9138 100644 --- a/ext/comment/theme.php +++ b/ext/comment/theme.php @@ -123,6 +123,9 @@ class CommentListTheme extends Themelet { foreach($comments as $comment) { $html .= $this->comment_to_html($comment, true); } + if(empty($html)) { + $html = '
No comments by this user.
'; + } $page->add_block(new Block("Comments", $html, "left", 70)); }