diff options
Diffstat (limited to 'mod/groups/actions/addtogroup.php')
-rw-r--r-- | mod/groups/actions/addtogroup.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/groups/actions/addtogroup.php b/mod/groups/actions/addtogroup.php index 10aea2880..1910a8196 100644 --- a/mod/groups/actions/addtogroup.php +++ b/mod/groups/actions/addtogroup.php @@ -47,8 +47,8 @@ // send welcome email notify_user($user->getGUID(), $group->owner_guid, - sprintf(elgg_echo('groups:welcome:subject'), $group->title), - sprintf(elgg_echo('groups:welcome:body'), $user->name, $group->title, $group->getURL()), + sprintf(elgg_echo('groups:welcome:subject'), $group->name), + sprintf(elgg_echo('groups:welcome:body'), $user->name, $group->name, $group->getURL()), NULL, "email"); system_message(elgg_echo('groups:addedtogroup')); @@ -80,8 +80,8 @@ { // Send email if (notify_user($user->getGUID(), $group->owner_guid, - sprintf(elgg_echo('groups:invite:subject'), $user->name, $group->title), - sprintf(elgg_echo('groups:invite:body'), $user->name, $group->title, "{$CONFIG->url}action/groups/join?user_guid={$user->guid}&group_guid={$group->guid}"), + sprintf(elgg_echo('groups:invite:subject'), $user->name, $group->name), + sprintf(elgg_echo('groups:invite:body'), $user->name, $group->name, "{$CONFIG->url}action/groups/join?user_guid={$user->guid}&group_guid={$group->guid}"), NULL, "email")) system_message(elgg_echo("groups:userinvited")); else |