diff --git a/app/views/gatherers/_list.html.erb b/app/views/gatherers/_list.html.erb index 11035ce..c38480a 100644 --- a/app/views/gatherers/_list.html.erb +++ b/app/views/gatherers/_list.html.erb @@ -15,7 +15,7 @@ <%= radio_button_tag :player, gatherer.id %><%= flag gatherer.user.country %> <%= namelink gatherer.user %> <% else %> - <%= flag gatherer.user.country %> + <%= flag(gatherer.user.country) if gatherer.user && gatherer.user.country %> <% if gatherer == captain and gatherer.team == gatherer.gather.turn %> » <% else %>