summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/views/comments.html.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php
index 1b9f8bbb..da45f57b 100644
--- a/modules/comment/views/comments.html.php
+++ b/modules/comment/views/comments.html.php
@@ -16,10 +16,13 @@
<? else: ?>
<?= t("No comments yet.") ?>
<? endif ?>
- </p>
- <ul><li class="g-no-comments">&nbsp;</li></ul>
- <? else: ?>
+ </p>
+ <ul>
+ <li class="g-no-comments">&nbsp;</li>
+ </ul>
+ <? endif ?>
+ <? if ($comments->count()): ?>
<ul>
<? foreach ($comments as $comment): ?>
<li id="g-comment-<?= $comment->id ?>">