mirror of
https://github.com/flarum/core.git
synced 2025-07-20 00:01:17 +02:00
Fix variable
This commit is contained in:
@@ -128,7 +128,7 @@ class RegisterUserHandler
|
|||||||
try {
|
try {
|
||||||
$image = (new ImageManager)->make($avatarUrl);
|
$image = (new ImageManager)->make($avatarUrl);
|
||||||
|
|
||||||
$this->avatarUploader->upload($user, $avatarUrl);
|
$this->avatarUploader->upload($user, $image);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user