add new macro event response group_contact pandora_enterprise#9246
This commit is contained in:
parent
6a36fd305b
commit
0ff07d7224
|
@ -3721,6 +3721,15 @@ function events_get_response_target(
|
|||
);
|
||||
}
|
||||
|
||||
if (strpos($target, '_group_contact_') !== false) {
|
||||
$info_groups = groups_get_group_by_id($event['id_grupo']);
|
||||
$target = str_replace(
|
||||
'_group_contact_',
|
||||
(isset($info_groups['contact']) === true) ? $info_groups['contact'] : 'N/A',
|
||||
$target
|
||||
);
|
||||
}
|
||||
|
||||
if (strpos($target, '_event_utimestamp_') !== false) {
|
||||
$target = str_replace(
|
||||
'_event_utimestamp_',
|
||||
|
|
Loading…
Reference in New Issue