diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-13 16:49:00 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-13 16:49:00 +0000 |
commit | 6c735edbaefb6b38545c0f730bc6e109fb14f561 (patch) | |
tree | 07e52e9a9154a64bc7619347f783cf7f05add8b2 /mod/groups/lib | |
parent | a152d82bda0a09256be77fb9cde9f13bb8e40a14 (diff) | |
download | elgg-6c735edbaefb6b38545c0f730bc6e109fb14f561.tar.gz elgg-6c735edbaefb6b38545c0f730bc6e109fb14f561.tar.bz2 |
displaying a no activity message on the activity page for new groups
git-svn-id: http://code.elgg.org/elgg/trunk@8683 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/lib')
-rw-r--r-- | mod/groups/lib/groups.php | 5 |
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, |