Skip to content

Commit

Permalink
Fix an issue where the private user page would not work in teams mode…
Browse files Browse the repository at this point in the history
… if the user was not on a team (#57)
  • Loading branch information
ColdHeat authored Dec 14, 2023
1 parent 519f0bd commit a355831
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/users/private.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ <h2 class="text-center">
{% endif %}
</h2>
<h2 class="text-center">
{{ account.get_score(admin=True) }} <small>points</small>
{% if account %}
{{ account.get_score(admin=True) }} <small>points</small>
{% endif %}
</h2>
</div>

Expand Down

0 comments on commit a355831

Please sign in to comment.