Fixed wrong array index for id_group
Former-commit-id: d902ec0901657035519912262ab55e5c1e6858e4
This commit is contained in:
parent
5411eb9d17
commit
3b4cea9962
|
@ -4584,7 +4584,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