From acb2348bcc9015d9ee88e9a6023b55f2d0289357 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 10 May 2010 20:12:21 +0000 Subject: #565642 by David_Rothstein: Fixed 'Recent comments' block is completely hidden when no comments are available. --- modules/comment/comment.module | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index a688daa01..945c7e0bc 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -582,6 +582,9 @@ function theme_comment_block() { if ($items) { return theme('item_list', array('items' => $items)); } + else { + return t('No comments available.'); + } } /** -- cgit v1.2.3