From 76fdda1bc083995bdb38de95ae8a8a380ca4eddd Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 20 Nov 2019 10:36:05 +0100 Subject: [PATCH] Update actions.php --- plugins/sedi/actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sedi/actions.php b/plugins/sedi/actions.php index df8488bd4..ad491c036 100644 --- a/plugins/sedi/actions.php +++ b/plugins/sedi/actions.php @@ -21,7 +21,7 @@ switch ($operazione) { 'telefono' => post('telefono'), 'email' => post('email'), 'id_nazione' => !empty(post('id_nazione')) ? post('id_nazione') : null, - 'idzona' => post('idzona'), + 'idzona' => !empty(post('id_zona')) ? post('id_zona') : 0, ]); $id_record = $dbo->lastInsertedID();