Fix user search

This commit is contained in:
cuom1999 2024-02-03 01:02:55 -06:00
parent 2a4d4e3bc1
commit c8b7848f5a

View file

@ -10,7 +10,7 @@ from . import registry
@registry.function
def gravatar(profile, size=80, default=None, profile_image=None, email=None):
if not profile.is_muted:
if profile and not profile.is_muted:
if profile_image:
return profile_image
if profile and profile.profile_image_url: