From 5f5eda65658df6cc6b9f71ed887654d2ac2963c5 Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 20 Feb 2009 15:23:58 +0000 Subject: group email tweak to include lang git-svn-id: https://code.elgg.org/elgg/trunk@2865 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/start.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mod/groups/start.php') diff --git a/mod/groups/start.php b/mod/groups/start.php index 85b43ad77..e0bb18b92 100644 --- a/mod/groups/start.php +++ b/mod/groups/start.php @@ -137,8 +137,10 @@ if ($method == 'sms') { return elgg_echo("groupforumtopic:new") . ': ' . $url . " ({$owner->name}: {$title})"; } else { - return "{$title}\n({$owner->name})\n\n{$url}"; + $owner = $entity->getOwnerEntity(); + return $owner->username . ' ' . elgg_echo("groups:viagroups") . ': ' . $title . "\n\n" . $descr . "\n\n" . $entity->getURL(); } + } return null; } -- cgit v1.2.3