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.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/blog/views/default/blog/group_module.php b/mod/blog/views/default/blog/group_module.php
index 6e75966af..b2b98f1f5 100644
--- a/mod/blog/views/default/blog/group_module.php
+++ b/mod/blog/views/default/blog/group_module.php
@@ -5,6 +5,10 @@
$group = elgg_get_page_owner();
+if ($group->blog_enable == "no") {
+ return true;
+}
+
$all_link = elgg_view('output/url', array(
'href' => "pg/blog/group/$group->guid/owner",
'text' => elgg_echo('link:view:all'),