mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
[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…
x
Reference in New Issue
Block a user