fix incorrect variable in registration

This commit is contained in:
Evan Prodromou 2011-04-18 10:15:18 -04:00
parent 3f238e4e16
commit c5671d7090

View File

@ -297,7 +297,7 @@ class EmailregisterAction extends Action
$inviter = User::staticGet('id', $this->invitation->user_id); $inviter = User::staticGet('id', $this->invitation->user_id);
if (!empty($inviter)) { if (!empty($inviter)) {
Subscription::start($inviter->getProfile(), Subscription::start($inviter->getProfile(),
$user->getProfile()); $this->user->getProfile());
} }
$this->invitation->delete(); $this->invitation->delete();