mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
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…
x
Reference in New Issue
Block a user