From 2ff36cc24560971fdeca46224993e6e4ba2f014b 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 --- 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 734c689ad8..6f6b3637ab 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -2284,7 +2284,9 @@ function api_set_create_synthetic_module($id, $thrash1, $other, $thrash3) { if (defined ('METACONSOLE')) { return; } - + + global $config; + $agentName = $id; io_safe_input_array($other);