From c5671d7090504dfbcd364424c5f6a61f8388279a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 18 Apr 2011 10:15:18 -0400 Subject: [PATCH] fix incorrect variable in registration --- plugins/EmailRegistration/emailregister.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/EmailRegistration/emailregister.php b/plugins/EmailRegistration/emailregister.php index 02b78ba936..53eb3778d9 100644 --- a/plugins/EmailRegistration/emailregister.php +++ b/plugins/EmailRegistration/emailregister.php @@ -297,7 +297,7 @@ class EmailregisterAction extends Action $inviter = User::staticGet('id', $this->invitation->user_id); if (!empty($inviter)) { Subscription::start($inviter->getProfile(), - $user->getProfile()); + $this->user->getProfile()); } $this->invitation->delete(); -- 2.39.5