diff --git a/scipost_django/scipost/views.py b/scipost_django/scipost/views.py index 4a78cd34dfe1bc3045cdfa316876464bfb2903a1..e499e2c957c6f55e14c0abd13a143636da1314a0 100644 --- a/scipost_django/scipost/views.py +++ b/scipost_django/scipost/views.py @@ -1522,7 +1522,9 @@ def contributor_info(request, contributor_id): ) ) - contributor_publications = contributor.profile.publications() + contributor_publications = [] + if profile := contributor.profile: + contributor_publications = profile.publications().published() contributor_submissions = Submission.objects.public_listed().filter( authors=contributor )