mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Merge branch 'ent-3901-Macro-event-id-no-funciona-en-meta-si-el-evento-tiene-server-id-0' into 'develop'
allow fetching of event id in metaconsole event table when getting target of an… See merge request artica/pandorafms!2437
This commit is contained in:
commit
b2b3d748c1
@ -2258,7 +2258,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…
x
Reference in New Issue
Block a user