mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
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;
|
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) {
|
if (!$id) {
|
||||||
returnError('error_set_new_snmp_component', 'Error creating SNMP component.');
|
returnError('error_set_new_snmp_component', 'Error creating SNMP component.');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user