aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/groups/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 9bfa077b3..043951452 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -142,7 +142,7 @@
if ($method == 'sms') {
return elgg_echo("groupforumtopic:new") . ': ' . $url . " ({$owner->name}: {$title})";
} else {
- return $owner->username . ' ' . elgg_echo("groups:viagroups") . ': ' . $title . "\n\n" . $msg . "\n\n" . $entity->getURL();
+ return $_SESSION['user']->username . ' ' . elgg_echo("groups:viagroups") . ': ' . $title . "\n\n" . $msg . "\n\n" . $entity->getURL();
}
}