From 60218d5616c7c5d2b698b072de37dc6afc3f5f58 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Tue, 9 Feb 2016 10:22:40 +0100 Subject: [PATCH] Add lost variable in funtion (cherry picked from commit 2ff36cc24560971fdeca46224993e6e4ba2f014b) --- pandora_console/include/functions_api.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index 2449bdcc79..e717d5025d 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -2179,7 +2179,9 @@ function api_set_create_synthetic_module($id, $thrash1, $other, $thrash3) { if (defined ('METACONSOLE')) { return; } - + + global $config; + $agentName = $id; io_safe_input_array($other);