mirror of
https://github.com/flarum/core.git
synced 2025-07-20 16:21:18 +02:00
Clean up attribute assignment
This commit is contained in:
@@ -277,7 +277,7 @@ class User extends AbstractModel
|
||||
*/
|
||||
public function changeAvatarPath($path)
|
||||
{
|
||||
$this->attributes['avatar_url'] = $path;
|
||||
$this->avatar_url = $path;
|
||||
|
||||
$this->raise(new AvatarChanged($this));
|
||||
|
||||
|
Reference in New Issue
Block a user