mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-03-20 09:21:05 +00:00
Prevent errors when displaying flag icons for users that have not country set.
This commit is contained in:
parent
ed43a36e9d
commit
8abfb16db4
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
<td><%= radio_button_tag :player, gatherer.id %><%= flag gatherer.user.country %></td>
|
||||
<td><%= namelink gatherer.user %></td>
|
||||
<% else %>
|
||||
<td><%= flag gatherer.user.country %></td>
|
||||
<td><%= flag(gatherer.user.country) if gatherer.user && gatherer.user.country %></td>
|
||||
<% if gatherer == captain and gatherer.team == gatherer.gather.turn %>
|
||||
<td>»
|
||||
<% else %>
|
||||
|
|
Loading…
Reference in a new issue