From 6520f95fcf7e19288906018886db99365e8ec521 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Wed, 20 Oct 2021 17:06:24 +0200 Subject: [PATCH] #7947 Fixed integria IMS ticket in metaconsole --- pandora_console/godmode/alerts/configure_alert_action.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_console/godmode/alerts/configure_alert_action.php b/pandora_console/godmode/alerts/configure_alert_action.php index e486ccc06b..4d8478c99b 100644 --- a/pandora_console/godmode/alerts/configure_alert_action.php +++ b/pandora_console/godmode/alerts/configure_alert_action.php @@ -237,7 +237,7 @@ $create_ticket_command_id = db_get_value('id', 'talert_commands', 'name', io_saf $sql_exclude_command_id = ''; -if ($config['integria_enabled'] == 0 && $create_ticket_command_id !== false) { +if (!is_metaconsole() && $config['integria_enabled'] == 0 && $create_ticket_command_id !== false) { $sql_exclude_command_id = ' AND id <> '.$create_ticket_command_id; } @@ -597,6 +597,7 @@ $(document).ready (function () { $("#id_command").change (function () { values = Array (); + // No se envia el valor del commando. values.push({ name: "page", value: "godmode/alerts/alert_commands"});