allow fetching of event id in metaconsole event table when getting target of an event response in metaconsole having server_id=0
This commit is contained in:
parent
d82d178a0d
commit
e82916001b
|
@ -2293,7 +2293,7 @@ function events_get_response_target(
|
|||
global $config;
|
||||
|
||||
// If server_id > 0, it's a metaconsole query.
|
||||
$meta = $server_id > 0;
|
||||
$meta = $server_id > 0 || is_metaconsole();
|
||||
$event_table = events_get_events_table($meta, $history);
|
||||
$event = db_get_row($event_table, 'id_evento', $event_id);
|
||||
|
||||
|
|
Loading…
Reference in New Issue