mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-12362-no-se-pueden-anadir-alertas-a-modulos-desde-la-vista-agents-alerts-view' into 'develop'
Fix add alerts pandora_enterprise#12362 See merge request artica/pandorafms!6625
This commit is contained in:
commit
4406828cc2
@ -457,9 +457,7 @@ class AgentsAlerts extends HTML
|
|||||||
$template2 = get_parameter('template');
|
$template2 = get_parameter('template');
|
||||||
$module_action_threshold = get_parameter('module_action_threshold');
|
$module_action_threshold = get_parameter('module_action_threshold');
|
||||||
$action_select = get_parameter('action_select', 0);
|
$action_select = get_parameter('action_select', 0);
|
||||||
|
$id_alert = alerts_create_alert_agent_module($this->createAlert, $template2);
|
||||||
$id_alert = alerts_create_alert_agent_module($this->create_alert, $template2);
|
|
||||||
|
|
||||||
if ($id_alert !== false) {
|
if ($id_alert !== false) {
|
||||||
if ($action_select != 0) {
|
if ($action_select != 0) {
|
||||||
$values = [];
|
$values = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user