aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog/views')
-rw-r--r--mod/blog/views/default/blog/group_module.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/blog/views/default/blog/group_module.php b/mod/blog/views/default/blog/group_module.php
index b2b98f1f5..57adff678 100644
--- a/mod/blog/views/default/blog/group_module.php
+++ b/mod/blog/views/default/blog/group_module.php
@@ -30,8 +30,12 @@ $options = array(
$content = elgg_list_entities($options);
elgg_pop_context();
+if (!$content) {
+ $content = '<p>' . elgg_echo('blog:none') . '</p>';
+}
+
$new_link = elgg_view('output/url', array(
- 'href' => "pg/blog/group/$group->guid/new",
+ 'href' => "pg/blog/new/$group->guid",
'text' => elgg_echo('blog:write'),
));
$content .= "<span class='elgg-widget-more'>$new_link</span>";