Fix eliminazione interventi

This commit is contained in:
loviuz 2021-08-06 14:48:51 +02:00
parent f9d002ab1a
commit 4b1bbd7845
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ switch (post('op')) {
$intervento->delete();
// Elimino il collegamento al componente
$dbo->query('DELETE FROM my_componenti WHERE idintervento='.prepare($id_record));
$dbo->query('DELETE FROM my_componenti WHERE id_intervento='.prepare($id_record));
// Eliminazione associazione tecnici collegati all'intervento
$dbo->query('DELETE FROM in_interventi_tecnici WHERE idintervento='.prepare($id_record));