Update actions.php

This commit is contained in:
Luca 2018-11-15 15:16:31 +01:00
parent 16b84a6372
commit 2860ea2f15
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ switch (filter('op')) {
if (isset($descrizione)) {
if ($dbo->fetchNum('SELECT * FROM `dt_causalet` WHERE `descrizione`='.prepare($descrizione)) == 0) {
$dbo->insert('dt_porto', [
'dt_causalet' => $descrizione,
$dbo->insert('dt_causalet', [
'descrizione' => $descrizione,
]);
$id_record = $dbo->lastInsertedID();