Fix minori
This commit is contained in:
parent
d68feee4c3
commit
8061481ddf
|
@ -109,7 +109,7 @@ switch ($op) {
|
|||
'data' => date('Y-m-d'),
|
||||
'idtecnico' => $idtecnico ?: 0,
|
||||
'idsede' => $idsede ?: 0,
|
||||
'id_categoria' => $id_categoria ?: null
|
||||
'id_categoria' => $id_categoria ?: null,
|
||||
]);
|
||||
|
||||
$id_record = $dbo->lastInsertedID();
|
||||
|
|
|
@ -38,7 +38,7 @@ if (filter('op') == 'link_impianti') {
|
|||
'id_module' => $id_module,
|
||||
'id_record' => $id_record,
|
||||
'id_module_from' => $modulo_impianti['id'],
|
||||
'id_record_from' => $matricola
|
||||
'id_record_from' => $matricola,
|
||||
]);
|
||||
|
||||
$components = $dbo->fetchArray('SELECT * FROM my_componenti WHERE id_impianto = '.prepare($matricola));
|
||||
|
|
Loading…
Reference in New Issue