1
0
mirror of https://github.com/flarum/core.git synced 2025-05-05 15:07:17 +02:00

Fix variable

This commit is contained in:
Toby Zerner 2017-10-07 19:17:59 +10:30
parent 3b1f8771c4
commit bedf710768

View File

@ -128,7 +128,7 @@ class RegisterUserHandler
try {
$image = (new ImageManager)->make($avatarUrl);
$this->avatarUploader->upload($user, $avatarUrl);
$this->avatarUploader->upload($user, $image);
} catch (Exception $e) {
//
}