]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix incorrect variable in registration
authorEvan Prodromou <evan@status.net>
Mon, 18 Apr 2011 14:15:18 +0000 (10:15 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 18 Apr 2011 14:15:18 +0000 (10:15 -0400)
plugins/EmailRegistration/emailregister.php

index 02b78ba936a4fb10cee04f5e03e1a366244acfb3..53eb3778d98d0d6c967fe868c3d9459a91064aef 100644 (file)
@@ -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();