This commit is contained in:
Antonio Ramirez
2017-07-25 18:18:57 +02:00
2 changed files with 5 additions and 5 deletions

View File

@ -50,6 +50,6 @@ In fact, we have used some of its processes, commands, views, and some of its at
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)
<i>Custom Software | Web & Mobile Software Development</i>
[www.2amigos.us](http://www.2amigos.us)
> <i>Custom Software | Web & Mobile Software Development</i>
> [www.2amigos.us](http://www.2amigos.us)

View File

@ -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()) {