From 26896d12915998f926b26d71c58a6b2266d54ace Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Fri, 8 Dec 2023 15:24:02 -0300 Subject: [PATCH] Fix missing key in table/relation/common_form template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Related to #18834 Signed-off-by: MaurĂ­cio Meneghini Fauth --- resources/templates/table/relation/common_form.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}