Uploaded Avatar removed from user's yaml when editing the user [#1647]

This commit is contained in:
Matias Griese
2019-04-15 11:27:39 +03:00
parent 2358919d10
commit 4fa59f18e8
3 changed files with 3 additions and 1 deletions

View File

@@ -708,7 +708,6 @@ class AdminController extends AdminBaseController
}
$user->update($data->toArray());
$user->undef('avatar');
$user = $this->storeFiles($user);