From: Evan Prodromou Date: Wed, 27 Aug 2008 00:54:18 +0000 (-0400) Subject: lost the names when making a new function send_invitation X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=37991eace858ab6b03f7bbc88bb6f784c4fb9b9f;p=quix0rs-gnu-social.git lost the names when making a new function send_invitation darcs-hash:20080827005418-84dde-7e7a4be646c520542e8c065ba90ba759c100b481.gz --- diff --git a/actions/invite.php b/actions/invite.php index 1e2a955032..f94d945b9d 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;