summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-05-10 20:12:21 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-05-10 20:12:21 +0000
commitacb2348bcc9015d9ee88e9a6023b55f2d0289357 (patch)
tree9b1a441049335daf10995e76fdca2b597e84d197
parentda1b4bb94fb28680ad32e62491e0866e4527e6f6 (diff)
downloadbrdo-acb2348bcc9015d9ee88e9a6023b55f2d0289357.tar.gz
brdo-acb2348bcc9015d9ee88e9a6023b55f2d0289357.tar.bz2
#565642 by David_Rothstein: Fixed 'Recent comments' block is completely hidden when no comments are available.
-rw-r--r--modules/comment/comment.module3
1 files changed, 3 insertions, 0 deletions
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.');
+ }
}
/**