diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index 607162e68f..3975fc63fc 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -2278,7 +2278,9 @@ function api_set_create_synthetic_module($id, $thrash1, $other, $thrash3) { if (defined ('METACONSOLE')) { return; } - + + global $config; + $agentName = $id; io_safe_input_array($other);