aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/addtogroup.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-15 12:39:48 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-15 12:39:48 +0000
commitc46cadcc8264e5ded6e335a337e0312fee42da3c (patch)
tree3d3387d99108710ca25ed2109b5db24d34f5fc82 /mod/groups/actions/addtogroup.php
parentf27e928df0f04f71e2688ef9d2bc095710991dd0 (diff)
downloadelgg-c46cadcc8264e5ded6e335a337e0312fee42da3c.tar.gz
elgg-c46cadcc8264e5ded6e335a337e0312fee42da3c.tar.bz2
Fixes #144
git-svn-id: https://code.elgg.org/elgg/trunk@1426 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/actions/addtogroup.php')
-rw-r--r--mod/groups/actions/addtogroup.php8
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