forked from GNUsocial/gnu-social
fix incorrect variable in registration
This commit is contained in:
parent
3f238e4e16
commit
c5671d7090
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user