aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/start.php')
-rw-r--r--mod/groups/start.php4
1 files changed, 3 insertions, 1 deletions
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;
}