mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Merge branch '156-unrelated-alert-is-deleted' into 'develop'
[bug fix] deleting a module had caused unextected alert deletion. #156 Closes #156 See merge request !701
This commit is contained in:
commit
c51bf1637b
@ -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