From 9bc934a89db799057ed736378a0eb343b5d77d40 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sat, 21 Jul 2018 17:22:03 +0930 Subject: [PATCH] Clean up attribute assignment --- framework/core/src/User/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/User/User.php b/framework/core/src/User/User.php index 4ad6e1476..e49bff86f 100644 --- a/framework/core/src/User/User.php +++ b/framework/core/src/User/User.php @@ -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));