diff options
Diffstat (limited to 'mod/groups/views')
-rw-r--r-- | mod/groups/views/default/groups/profile/activity_module.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/groups/views/default/groups/profile/activity_module.php b/mod/groups/views/default/groups/profile/activity_module.php index 60a8e025c..1c7e6daa2 100644 --- a/mod/groups/views/default/groups/profile/activity_module.php +++ b/mod/groups/views/default/groups/profile/activity_module.php @@ -12,6 +12,9 @@ if ($vars['entity']->activity_enable == 'no') { } $group = $vars['entity']; +if (!$group) { + return true; +} $all_link = elgg_view('output/url', array( |