mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
fix normalize values when nil
This commit is contained in:
1 parent
80c1b04e83
commit
0e9d922204
1 file changed
+1
-1
@@ -26,7 +26,7 @@ module Submitters
|
||||
|
||||
next if key.blank?
|
||||
|
||||
if fields_uuid_index[key]['type'].in?(%w[initials signature image file])
|
||||
if fields_uuid_index[key]['type'].in?(%w[initials signature image file]) && value.present?
|
||||
new_value, new_attachments = normalize_attachment_value(value, template.account, for_submitter)
|
||||
|
||||
attachments.push(*new_attachments)
|
||||
|
||||
Reference in new issue
Block a user