#7947 Fixed integria IMS ticket in metaconsole

This commit is contained in:
Daniel Maya 2021-10-20 17:06:24 +02:00
parent 6ccf3a9ee9
commit 6520f95fcf
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"});