diff --git a/README.md b/README.md index 4c7f83a..2ca2288 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ This module is highly inspired by the excellent work of [Dektrium](https://dektr In fact, we have used some of its processes, commands, views, and some of its attribute names to somehow standardize the modules and make it easier for our developers to swap from [Dektrium's](https://dektrium.com) modules to our own. -> [![2amigOS!](https://s.gravatar.com/avatar/55363394d72945ff7ed312556ec041e0?s=80)](http://www.2amigos.us) -Custom Software | Web & Mobile Software Development -[www.2amigos.us](http://www.2amigos.us) +> [![2amigOS!](https://s.gravatar.com/avatar/55363394d72945ff7ed312556ec041e0?s=80)](http://www.2amigos.us) +> Custom Software | Web & Mobile Software Development +> [www.2amigos.us](http://www.2amigos.us) diff --git a/src/User/Controller/AdminController.php b/src/User/Controller/AdminController.php index 28606c3..57cce4f 100644 --- a/src/User/Controller/AdminController.php +++ b/src/User/Controller/AdminController.php @@ -178,9 +178,9 @@ class AdminController extends Controller $profile->link('user', $user); } /** @var UserEvent $event */ - $event = $this->make(UserEvent::class, [$profile]); + $event = $this->make(UserEvent::class, [$user]); - $this->make(AjaxRequestModelValidator::class, [$user])->validate(); + $this->make(AjaxRequestModelValidator::class, [$profile])->validate(); if ($profile->load(Yii::$app->request->post())) { if ($profile->save()) {