fix: operand

This commit is contained in:
ReileenKawahara
2023-09-02 13:03:49 +02:00
committed by GitHub
parent 769fb6213f
commit 76a6bd5a39
+1 -1
View File
@@ -158,7 +158,7 @@ class UserController extends Controller
$avatar = $user->username.'.'.$image->getClientOriginalExtension();
if ($user->image != $avatar) {
if ($user->image !== $avatar) {
$oldAvatar = $user->image;
$user->image = $avatar;
}