We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3fb6c9e + c87428f commit abd2392Copy full SHA for abd2392
src/Auth/Database/Administrator.php
@@ -47,7 +47,7 @@ public function __construct(array $attributes = [])
47
*/
48
public function getAvatarAttribute($avatar)
49
{
50
- if (url()->isValidUrl($avatar)) {
+ if ($avatar && url()->isValidUrl($avatar)) {
51
return $avatar;
52
}
53
0 commit comments