[bug fix] deleting a module had caused unextected alert deletion. #156
This commit is contained in:
parent
c363a2e085
commit
76c951183c
|
@ -1527,7 +1527,8 @@ if ($delete_module) { // DELETE agent module !
|
|||
if ($result === false)
|
||||
$error++;
|
||||
|
||||
if (alerts_delete_alert_agent_module($id_borrar_modulo) === false)
|
||||
if (alerts_delete_alert_agent_module(false,
|
||||
array('id_agente_module' => $id_borrar_modulo)) === false)
|
||||
$error++;
|
||||
|
||||
$result = db_process_delete_temp('ttag_module', 'id_agente_modulo',
|
||||
|
|
Loading…
Reference in New Issue