minor CDE
This commit is contained in:
parent
6461f029ee
commit
0b15f27699
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue