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:
alejandro-campos 2019-05-22 10:18:44 +02:00
parent d82d178a0d
commit e82916001b
1 changed files with 1 additions and 1 deletions

View File

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