From 0f1ed5165e30645cd97972b940540ae497d1dd44 Mon Sep 17 00:00:00 2001 From: alejandro-campos Date: Tue, 17 Mar 2020 18:03:08 +0100 Subject: [PATCH] default timeout for IPAM ping --- pandora_console/include/ajax/events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/ajax/events.php b/pandora_console/include/ajax/events.php index 7e11c16790..b926c5a13a 100644 --- a/pandora_console/include/ajax/events.php +++ b/pandora_console/include/ajax/events.php @@ -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') {