Merge branch '2558-No-aparece-nombre-de-agente-al-crear-incidente-desde-event-response' into 'develop'

fixed bug: agent field not retrieving value on incident creation from event response

See merge request artica/pandorafms!1648
This commit is contained in:
vgilc 2018-09-28 10:25:12 +02:00
commit ffb511c140
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ elseif (isset ($_GET["insert_form"])) {
$titulo = ui_print_truncate_text(events_get_description ($event), 'description', false, true, false);
$id_grupo = events_get_group ($event);
$origen = "Pandora FMS Event";
$id_agent = db_get_value("id_agente","tevento","id_evento",$event);
unset ($event);
}
$prioridad = 0;