diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-08-26 20:54:18 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-08-26 20:54:18 -0400 |
commit | 37991eace858ab6b03f7bbc88bb6f784c4fb9b9f (patch) | |
tree | 30672a0a79973a92d405efc59245a41e6657466e /actions | |
parent | ebf5d52f74b9441c1b65fb4cd2492fc21893664f (diff) |
lost the names when making a new function send_invitation
darcs-hash:20080827005418-84dde-7e7a4be646c520542e8c065ba90ba759c100b481.gz
Diffstat (limited to 'actions')
-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; |