Skip to content

Commit

Permalink
only show forum ban button if player has a user
Browse files Browse the repository at this point in the history
  • Loading branch information
sbezboro committed Apr 20, 2016
1 parent f3e55d4 commit 19c1c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion standardweb/templates/player.html
Expand Up @@ -26,7 +26,7 @@
<div class="section-header">
<div class="pull-right align-right">
{% if current_user and player.user != current_user %}
{% if current_user.admin_or_moderator %}
{% if current_user.admin_or_moderator and player.user %}
{% if player.user.forum_ban %}
Forum banned
{% else %}
Expand Down

0 comments on commit 19c1c46

Please sign in to comment.