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();