fix column name in sql sentence

This commit is contained in:
miguel angel rasteu 2023-04-20 16:40:28 +02:00
parent e5d2a346d4
commit 4b33fa241d
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ function network_components_get_name($id_network_component)
return false;
}
return @db_get_value('name', 'tnetwork_component', 'id', $id_network_component);
return @db_get_value('name', 'tnetwork_component', 'id_nc', $id_network_component);
}