diff options
-rw-r--r-- | actions/invite.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actions/invite.php b/actions/invite.php index 1e2a95503..f94d945b9 100644 --- a/actions/invite.php +++ b/actions/invite.php @@ -143,6 +143,11 @@ class InviteAction extends Action { function send_invitation($email, $user, $personal) { + $profile = $user->getProfile(); + $bestname = $profile->getBestName(); + + $sitename = common_config('site', 'name'); + $invite = new Invitation(); $invite->address = $email; |