From 928b3aa7fcb5b1ca576d31722f3c89ef5d4e6f68 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Sat, 17 Jun 2017 22:54:38 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=B8=D0=BD=D0=B8=D1=86=D0=B8=D0=B0=D0=BB?= =?UTF-8?q?=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D1=8F=20ChangeUsernameForm=20?= =?UTF-8?q?=D0=B2=20=D1=84=D0=BE=D1=80=D0=BC=D0=B5=20=D0=BF=D0=BE=D0=B4?= =?UTF-8?q?=D1=82=D0=B2=D0=B5=D1=80=D0=B6=D0=B4=D0=B5=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?E-mail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/models/authentication/ConfirmEmailForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/models/authentication/ConfirmEmailForm.php b/api/models/authentication/ConfirmEmailForm.php index 34b3556..72344da 100644 --- a/api/models/authentication/ConfirmEmailForm.php +++ b/api/models/authentication/ConfirmEmailForm.php @@ -43,7 +43,7 @@ class ConfirmEmailForm extends ApiForm { throw new ErrorException('Unable activate user account.'); } - $changeUsernameForm = new ChangeUsernameForm(); + $changeUsernameForm = new ChangeUsernameForm($account); $changeUsernameForm->createEventTask($account->id, $account->username, null); $transaction->commit();