Merge branch 'ent-5495-Fallo-de-ping-desde-IPAM' into 'develop'

default timeout for IPAM ping

See merge request artica/pandorafms!3109
This commit is contained in:
Alejandro Fraguas 2020-03-18 11:25:59 +01:00
commit 49a7623bcf
1 changed files with 1 additions and 1 deletions

View File

@ -923,7 +923,7 @@ if ($perform_event_response) {
$event_response = db_get_row('tevent_response', 'id', $response_id);
$command_timeout = $event_response['command_timeout'];
$command_timeout = $event_response !== false ? $event_response['command_timeout'] : 90;
if (enterprise_installed()) {
if ($event_response['server_to_exec'] != 0 && $event_response['type'] == 'command') {