From 69376c0faf61bc385d4bc164688c3412f91b556f Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Mon, 31 Mar 2025 21:50:04 +0300 Subject: [PATCH] fix acro form fields --- lib/templates/find_acro_fields.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/templates/find_acro_fields.rb b/lib/templates/find_acro_fields.rb index 97088390..b9fcc3d8 100644 --- a/lib/templates/find_acro_fields.rb +++ b/lib/templates/find_acro_fields.rb @@ -190,7 +190,7 @@ module Templates } elsif field.field_type == :Tx if field[:AA] && ((field[:AA][:F] && field[:AA][:F][:JS].include?('AFDate_')) || - (field[:AA][:K] && field[:AA][:F][:JS].include?('AFDate_'))) + (field[:AA][:K] && field[:AA][:K][:JS].include?('AFDate_'))) if (format = field[:AA][:F][:JS][DATE_FORMAT_REGEXP]) attrs[:preferences] ||= {} attrs[:preferences][:format] = format.upcase