minor CDE

This commit is contained in:
fbsanchez 2021-02-02 16:22:17 +01:00
parent 6461f029ee
commit 0b15f27699
1 changed files with 14 additions and 0 deletions

View File

@ -3952,6 +3952,7 @@ function events_get_response_target(
}
if (strpos($target, '_data_') !== false
&& $eventObj !== null
&& $eventObj->module() !== null
) {
$target = str_replace(
@ -3959,9 +3960,16 @@ function events_get_response_target(
$eventObjt->module()->lastValue(),
$target
);
} else {
$target = str_replace(
'_data_',
__('N/A'),
$target
);
}
if (strpos($target, '_moduledescription_') !== false
&& $eventObj !== null
&& $eventObj->module() !== null
) {
$target = str_replace(
@ -3969,6 +3977,12 @@ function events_get_response_target(
io_safe_output($eventObjt->module()->description()),
$target
);
} else {
$target = str_replace(
'_moduledescription_',
__('N/A'),
$target
);
}
if (strpos($target, '_owner_user_') !== false) {