From d1d2f30833d92c7f30ba70a1f1c1aa7571eed3d4 Mon Sep 17 00:00:00 2001 From: Lisa Durand Date: Wed, 11 Oct 2023 17:12:05 +0200 Subject: [PATCH] Update app/models/type_de_champ.rb Co-authored-by: Paul Chavard --- app/models/type_de_champ.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/type_de_champ.rb b/app/models/type_de_champ.rb index 119162d91..85cc3cba5 100644 --- a/app/models/type_de_champ.rb +++ b/app/models/type_de_champ.rb @@ -501,7 +501,7 @@ class TypeDeChamp < ApplicationRecord elsif region? APIGeoService.regions.map { [_1[:name], _1[:code]] } elsif choice_type? - if drop_down_list_options? + if drop_down_list? enabled_non_empty_options elsif yes_no? Champs::YesNoChamp.options