mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Cleaned up gravatar image importing
This commit is contained in:
@ -146,7 +146,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
|
||||
public function getAvatar($size = 50)
|
||||
{
|
||||
if ($this->image_id === 0 || $this->image_id === null) return '/user_avatar.png';
|
||||
return $this->avatar->getThumb($size, $size, true);
|
||||
return $this->avatar->getThumb($size, $size, false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user