mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Merge branch 'ent-10645-15201-peticion-de-cambio-get_events' into 'develop'
Ent 10645 15201 peticion de cambio get events See merge request artica/pandorafms!5824
This commit is contained in:
commit
9084df382b
@ -11546,6 +11546,11 @@ function api_get_events($node_id, $trash2, $other, $returnType)
|
||||
}
|
||||
}
|
||||
|
||||
// Add agent name to nodo.
|
||||
if (is_metaconsole() === false && empty($row['id_agente']) === false) {
|
||||
$row['agent_name'] = agents_get_name($row['id_agente']);
|
||||
}
|
||||
|
||||
// FOR THE TEST THE API IN THE ANDROID.
|
||||
$row['description_event'] = events_print_type_description($row['event_type'], true);
|
||||
$row['img_description'] = events_print_type_img($row['event_type'], true, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user