diff --git a/resources/templates/table/relation/common_form.twig b/resources/templates/table/relation/common_form.twig index 1249fa2b7e..2fb21c3eb4 100644 --- a/resources/templates/table/relation/common_form.twig +++ b/resources/templates/table/relation/common_form.twig @@ -87,7 +87,7 @@ {% for i in 0..saved_row_cnt %} {% set myfield = save_row[i] %} {# Use an md5 as array index to avoid having special characters in the name attribute (see bug #1746964 ) #} - {% set myfield_md5 = column_hash_array[myfield] %} + {% set myfield_md5 = column_hash_array[myfield] ?? null %} {% set foreign_table = false %} {% set foreign_column = false %}