mirror of
https://github.com/1sept/oauth2-1sept.git
synced 2024-05-30 17:38:52 +03:00
Fix Если не задан параметр о заглушке
This commit is contained in:
@@ -213,7 +213,7 @@ class SeptemberFirstUser implements ResourceOwnerInterface
|
||||
*/
|
||||
public function isDefaultAvatar(): bool
|
||||
{
|
||||
return $this->getField('avatar_default');
|
||||
return (bool) $this->getField('avatar_default');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user