Merge branch 'ent-4768-error-macro-agent-address-event-responses' into 'develop'

Fixed macro agent address empty ip

See merge request artica/pandorafms!2823
This commit is contained in:
Daniel Rodriguez 2020-02-05 12:56:13 +01:00
commit 97adbca5cd
1 changed files with 1 additions and 1 deletions

View File

@ -3647,7 +3647,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');
}