diff --git a/files/templates/userpage/userpage.html b/files/templates/userpage/userpage.html index 1b1b59376..e5cd293ce 100644 --- a/files/templates/userpage/userpage.html +++ b/files/templates/userpage/userpage.html @@ -2,7 +2,7 @@ {% block pagetype %}userpage{% endblock %} {% block pagetitle %}@{{u.username}}'s profile{% endblock %} {% block head_final %} - {% if u.profile_background %} + {% if u and u.profile_background %}