From: Cash Costello Date: Thu, 2 Jul 2009 11:37:28 +0000 (+0000) Subject: using display name for notifications X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=4ef110ba8214ab16277a03ab4439df4ec3b03ab9;p=lorea%2Felgg.git using display name for notifications --- diff --git a/start.php b/start.php index e4aee58bd..0851a3e5c 100644 --- a/start.php +++ b/start.php @@ -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;