diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-16 09:45:22 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-16 09:45:22 +0000 |
commit | bce56001af5260c4d6b9ab498b0b054859be619a (patch) | |
tree | 6e04aa1175123c51bba39c492056e78da210ba2f | |
parent | d8d9ce784ba2a05776f194b7923dafd02ccd6391 (diff) | |
download | elgg-bce56001af5260c4d6b9ab498b0b054859be619a.tar.gz elgg-bce56001af5260c4d6b9ab498b0b054859be619a.tar.bz2 |
Fixes #154
git-svn-id: https://code.elgg.org/elgg/trunk@1435 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/groups/actions/joinrequest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/actions/joinrequest.php b/mod/groups/actions/joinrequest.php index bbe896342..5e42e4c4a 100644 --- a/mod/groups/actions/joinrequest.php +++ b/mod/groups/actions/joinrequest.php @@ -71,7 +71,7 @@ // Send email if (notify_user($group->owner_guid, $user->getGUID(), sprintf(elgg_echo('groups:request:subject'), $user->name, $group->name), - sprintf(elgg_echo('groups:request:body'), $group->getOwner()->name, $user->name, $group->name, $user->getURL(), "{$CONFIG->url}action/groups/addtogroup?user_guid={$user->guid}&group_guid={$group->guid}"), + sprintf(elgg_echo('groups:request:body'), $group->getOwnerEntity()->name, $user->name, $group->name, $user->getURL(), "{$CONFIG->url}action/groups/addtogroup?user_guid={$user->guid}&group_guid={$group->guid}"), NULL, "email")) system_message(elgg_echo("groups:joinrequestmade")); else |