From ae64b0f0d3867308806cdc945c21b6bcba9c8b6b Mon Sep 17 00:00:00 2001 From: valentina Date: Fri, 21 Jun 2024 15:56:58 +0200 Subject: [PATCH] Fix salvataggio campi personalizzati --- actions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions.php b/actions.php index 7cc1746de..00325bdb1 100755 --- a/actions.php +++ b/actions.php @@ -498,8 +498,8 @@ if ($structure->permission == 'rw') { if (post('op') != 'delete') { $values = []; foreach ($customs as $custom) { - if (post($custom['name']) !== null) { - $values[$custom['id']] = post($custom['name']); + if (post($custom['title']) !== null) { + $values[$custom['id']] = post($custom['title']); } else { $values[$custom['id']] = ''; }