diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index d0f0f88530..d9ec0e007b 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -3209,7 +3209,7 @@ function api_set_create_network_module($id, $thrash1, $other, $thrash3) $agent_by_alias = false; - if ($other['data'][30] === '1') { + if ($other['data'][31] === '1') { $agent_by_alias = true; }