aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/lib
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/lib')
-rw-r--r--mod/groups/lib/groups.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/groups/lib/groups.php b/mod/groups/lib/groups.php
index dbbaf4366..0855f73d6 100644
--- a/mod/groups/lib/groups.php
+++ b/mod/groups/lib/groups.php
@@ -242,7 +242,10 @@ function groups_handle_activity_page($guid) {
'joins' => array("JOIN {$db_prefix}entities e ON e.guid = rv.object_guid"),
'wheres' => array("e.container_guid = $guid")
));
-
+ if (!$content) {
+ $content = '<p>' . elgg_echo('groups:activity:none') . '</p>';
+ }
+
$params = array(
'content' => $content,
'title' => $title,