Skip to content

Commit 908cc9f

Browse files
fix: minore tipi interventi
1 parent 6e44f56 commit 908cc9f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

modules/tipi_intervento/actions.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@
6565
]);
6666
$tipi = (array) post('tipi');
6767
foreach ($tipi as $tipo) {
68+
if (!$tipo) {
69+
continue;
70+
}
6871
$dbo->insert('in_tipiintervento_tipologie', [
6972
'idtipointervento' => $id_record,
7073
'tipo' => $tipo

0 commit comments

Comments
 (0)