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:
commit
11a16e4c2a
|
@ -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.');
|
||||
|
|
Loading…
Reference in New Issue