mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
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:
commit
97adbca5cd
@ -3647,7 +3647,7 @@ function events_get_response_target(
|
|||||||
|
|
||||||
$ip = db_get_value_filter('direccion', $agente_table_name, $filter);
|
$ip = db_get_value_filter('direccion', $agente_table_name, $filter);
|
||||||
// If agent has not an IP, display N/A.
|
// If agent has not an IP, display N/A.
|
||||||
if ($ip === false) {
|
if ($ip === false || $ip === '') {
|
||||||
$ip = __('N/A');
|
$ip = __('N/A');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user