From 85bb6353611f9569b87f70e241283b6dd786a18d Mon Sep 17 00:00:00 2001 From: Eric P Date: Fri, 22 Jul 2022 11:44:22 -0500 Subject: [PATCH] Set data type should be an array in column_row.twig template (#17650) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The column_row.twig template that was introduced with version 5.2.0 seems to define set fields as single values rather than as array values. This causes any inserts to set fields to fail and result in a blank page. The previous version had sets properly defined as arrays: https://github.com/phpmyadmin/phpmyadmin/blob/RELEASE_5_1_4/libraries/classes/InsertEdit.php#L1307 Fixes: #17557 Signed-off-by: Eric Perrino Signed-off-by: MaurĂ­cio Meneghini Fauth --- templates/table/insert/column_row.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/table/insert/column_row.twig b/templates/table/insert/column_row.twig index 854951ce15..1a46209310 100644 --- a/templates/table/insert/column_row.twig +++ b/templates/table/insert/column_row.twig @@ -83,7 +83,7 @@ {% elseif column.pma_type == 'set' %} {{ backup_field|raw }} - {% for set_value in set_values %} {% endfor %}