Fixed macro agent address empty ip
This commit is contained in:
parent
13898da4c1
commit
5676872f0a
|
@ -3553,7 +3553,7 @@ function events_get_response_target(
|
|||
|
||||
$ip = db_get_value_filter('direccion', $agente_table_name, $filter);
|
||||
// If agent has not an IP, display N/A.
|
||||
if ($ip === false) {
|
||||
if ($ip === false || $ip === '') {
|
||||
$ip = __('N/A');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue