From 0d950566f793a5e4f41144dbc545541e90346320 Mon Sep 17 00:00:00 2001
From: Daniel Maya <daniel.maya@pandorafms.com>
Date: Wed, 14 Jun 2023 14:28:21 +0200
Subject: [PATCH] #11563 Fixed ping

---
 pandora_console/include/javascript/pandora_events.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pandora_console/include/javascript/pandora_events.js b/pandora_console/include/javascript/pandora_events.js
index dcc5649679..2092d30589 100644
--- a/pandora_console/include/javascript/pandora_events.js
+++ b/pandora_console/include/javascript/pandora_events.js
@@ -284,7 +284,7 @@ function show_response_dialog(response_id, response) {
 }
 
 // Perform a response and put the output into a div
-function perform_response(response, response_id, index) {
+function perform_response(response, response_id, index = "") {
   $("#re_exec_command" + index).hide();
   $("#response_loading_command" + index).show();
   $("#response_out" + index).html("");