]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
using display name for notifications
authorCash Costello <cash.costello@gmail.com>
Thu, 2 Jul 2009 11:37:28 +0000 (11:37 +0000)
committerCash Costello <cash.costello@gmail.com>
Thu, 2 Jul 2009 11:37:28 +0000 (11:37 +0000)
start.php

index e4aee58bdcf33b317ccf5dcf800b61682d56e3f2..0851a3e5c7d73e1888aa37af5162c0d5419bb648 100644 (file)
--- a/start.php
+++ b/start.php
                        $title = $entity->title;\r
                        if ($method == 'email') {\r
                                $owner = $entity->getOwnerEntity();\r
-                               return sprintf(elgg_echo('album:river:created'), $owner->username) . $title . "\n\n" . $descr . "\n\n" . $entity->getURL();\r
+                               return sprintf(elgg_echo('album:river:created'), $owner->name) . ' ' . $title . "\n\n" . $descr . "\n\n" . $entity->getURL();\r
                        }\r
                }\r
                return null;\r