From 81a5628301a8e5acb4fbc9fb2b3ba4e0cc160f10 Mon Sep 17 00:00:00 2001 From: loviuz Date: Tue, 10 Jan 2023 10:35:43 +0100 Subject: [PATCH] =?UTF-8?q?Aggiunta=20possibilit=C3=A0=20di=20creare=20cam?= =?UTF-8?q?pi=20aggiuntivi=20con=20testo=20libero?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/custom_fields/actions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/custom_fields/actions.php b/modules/custom_fields/actions.php index 9e29fd8a1..31eb20559 100755 --- a/modules/custom_fields/actions.php +++ b/modules/custom_fields/actions.php @@ -29,7 +29,7 @@ switch (post('op')) { 'id_plugin' => $plugin, 'name' => post('name'), 'html_name' => post('html_name'), - 'content' => post('content'), + 'content' => $_POST['content'], 'on_add' => post('on_add'), 'top' => post('top'), ], ['id' => $id_record]); @@ -46,7 +46,7 @@ switch (post('op')) { 'id_module' => $module, 'id_plugin' => $plugin, 'name' => post('name'), - 'content' => post('content'), + 'content' => $_POST['content'], 'html_name' => secure_random_string(8), ]); $id_record = $dbo->lastInsertedID();