[bug fix] deleting a module had caused unextected alert deletion. #156

This commit is contained in:
Hirofumi Kosaka 2017-08-02 15:41:44 +09:00
parent c363a2e085
commit 76c951183c
1 changed files with 2 additions and 1 deletions

View File

@ -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',