diff --git a/app/models/champ.rb b/app/models/champ.rb index 7f2974db0..eae3ac82b 100644 --- a/app/models/champ.rb +++ b/app/models/champ.rb @@ -44,7 +44,7 @@ class Champ < ApplicationRecord def blank? case type_de_champ.type_champ when TypeDeChamp.type_champs.fetch(:carte) - value.blank? || value == '[]' + geo_areas.blank? || value == '[]' else value.blank? end