Skip to content

Commit 4a134f4

Browse files
authored
fix child_status assignment (#21784)
1 parent 170ddda commit 4a134f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pdf_fill/forms/va686c674v2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@ def merge_child_helpers
16831683
# rubocop:disable Metrics/MethodLength
16841684
def expand_child_status(child)
16851685
# expand child status
1686-
child_status = child['relationship_to_child']
1686+
child_status = child['relationship_to_child'] || {}
16871687
date_entered_household = split_date(child['date_entered_household'])
16881688

16891689
if child.key?('has_child_ever_been_married')

0 commit comments

Comments
 (0)