diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-07-02 11:37:28 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-07-02 11:37:28 +0000 |
commit | 4ef110ba8214ab16277a03ab4439df4ec3b03ab9 (patch) | |
tree | 07ca9257dc8642a255588c46c622aa0a9f8af0b1 | |
parent | 46fdfa767062fa42c6ec3dfc6f985afc5ccee08b (diff) | |
download | elgg-4ef110ba8214ab16277a03ab4439df4ec3b03ab9.tar.gz elgg-4ef110ba8214ab16277a03ab4439df4ec3b03ab9.tar.bz2 |
using display name for notifications
-rw-r--r-- | start.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -358,7 +358,7 @@ $title = $entity->title;
if ($method == 'email') {
$owner = $entity->getOwnerEntity();
- return sprintf(elgg_echo('album:river:created'), $owner->username) . $title . "\n\n" . $descr . "\n\n" . $entity->getURL();
+ return sprintf(elgg_echo('album:river:created'), $owner->name) . ' ' . $title . "\n\n" . $descr . "\n\n" . $entity->getURL();
}
}
return null;
|