Update actions.php

This commit is contained in:
Luca 2019-11-20 10:36:05 +01:00
parent ed96f1ed28
commit 76fdda1bc0
1 changed files with 1 additions and 1 deletions

View File

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