Formatting
This commit is contained in:
@@ -175,9 +175,8 @@ class User extends Authenticatable
|
|||||||
$avatar = $this->getAvatarAttribute();
|
$avatar = $this->getAvatarAttribute();
|
||||||
if (empty($avatar)) {
|
if (empty($avatar)) {
|
||||||
return $this->gravatar();
|
return $this->gravatar();
|
||||||
} else {
|
|
||||||
return $avatar->url;
|
|
||||||
}
|
}
|
||||||
|
return $avatar->url;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user