From 5676872f0a977a65261b72a3385e60552a864ef3 Mon Sep 17 00:00:00 2001 From: Luis Calvo Date: Fri, 18 Oct 2019 15:44:05 +0200 Subject: [PATCH] Fixed macro agent address empty ip --- pandora_console/include/functions_events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index 9563732c68..ff8fecadcb 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -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'); }