Merge branch 'ent-3408-snmp-component-creation-api' into 'develop'

Fixed wrong array index for id_group

See merge request artica/pandorafms!2286

Former-commit-id: eaea4fc6551e34c2941e094c78099e07a5315df5
This commit is contained in:
Alejandro Fraguas 2019-05-06 17:00:29 +02:00
commit 11a16e4c2a
1 changed files with 1 additions and 1 deletions

View File

@ -4613,7 +4613,7 @@ function api_set_new_snmp_component($id, $thrash1, $other, $thrash2)
return;
}
$id = network_components_create_network_component($id, $other['data'][0], $other['data'][25], $values);
$id = network_components_create_network_component($id, $other['data'][0], $other['data'][26], $values);
if (!$id) {
returnError('error_set_new_snmp_component', 'Error creating SNMP component.');