diff --git a/app/models/champs/pays_champ.rb b/app/models/champs/pays_champ.rb index 170659903..2da10cff4 100644 --- a/app/models/champs/pays_champ.rb +++ b/app/models/champs/pays_champ.rb @@ -55,7 +55,7 @@ class Champs::PaysChamp < Champs::TextChamp end def name - if external_id + if external_id.present? APIGeoService.country_name(external_id) else value.present? ? value.to_s : ''