From: Evan Prodromou Date: Mon, 18 Apr 2011 14:15:18 +0000 (-0400) Subject: fix incorrect variable in registration X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c5671d7090504dfbcd364424c5f6a61f8388279a;p=quix0rs-gnu-social.git fix incorrect variable in registration --- 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();