Merge branch 'ent-7947-Bug-en-integración-de-Integria-en-nodo-centralizado' into 'develop'

Ent 7947 bug en integración de integria en nodo centralizado

See merge request artica/pandorafms!4492
This commit is contained in:
Daniel Rodriguez 2021-11-15 11:22:25 +00:00
commit ff31a347c4
1 changed files with 2 additions and 1 deletions

View File

@ -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"});