We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit c5671d70 authored by Evan Prodromou's avatar Evan Prodromou

fix incorrect variable in registration

parent 3f238e4e
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment