From d9bf9b57e71fe45fd30a264e82e6291df066e1bc Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Fri, 8 Mar 2024 13:20:01 +0100 Subject: [PATCH] Fix minore --- modules/causali_movimenti/actions.php | 4 ++-- modules/causali_movimenti/edit.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/causali_movimenti/actions.php b/modules/causali_movimenti/actions.php index 6d0aba829..ba111dd41 100755 --- a/modules/causali_movimenti/actions.php +++ b/modules/causali_movimenti/actions.php @@ -41,8 +41,8 @@ switch (filter('op')) { ]); $id_record = $database->lastInsertedID(); $database->insert('mg_causali_movimenti_lang', [ - 'nome' => post('nome'), - 'descrizione' => post('descrizione'), + 'name' => post('nome'), + 'description' => post('descrizione'), 'id_record' => $id_record, 'id_lang' => setting('Lingua'), ]); diff --git a/modules/causali_movimenti/edit.php b/modules/causali_movimenti/edit.php index b9ee5c3ac..330d1478a 100755 --- a/modules/causali_movimenti/edit.php +++ b/modules/causali_movimenti/edit.php @@ -32,7 +32,7 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "text", "label": "", "name": "nome", "required": 1, "value": "$nome$" ]} + {[ "type": "text", "label": "", "name": "nome", "required": 1, "value": "$name$" ]}
@@ -42,7 +42,7 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "textarea", "label": "", "name": "descrizione", "required": 1, "value": "$descrizione$" ]} + {[ "type": "textarea", "label": "", "name": "descrizione", "required": 1, "value": "$description$" ]}