mirror of
https://github.com/flarum/framework.git
synced 2024-11-30 13:36:10 +08:00
Fix variable
This commit is contained in:
parent
9a8433d02c
commit
ba3afb2d6f
|
@ -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) {
|
||||
//
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user