diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f148f9ab84..d6a5b8b20f 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-04-04 Miguel de Dios + + * include/functions_network_components.php: some cleans into the + source code style. + 2014-04-04 Miguel de Dios * include/functions_networkmap.php: fixed the networkmap L2 with diff --git a/pandora_console/include/functions_network_components.php b/pandora_console/include/functions_network_components.php index 1b6fab1bb4..26aebb6a1b 100644 --- a/pandora_console/include/functions_network_components.php +++ b/pandora_console/include/functions_network_components.php @@ -222,7 +222,8 @@ function network_components_get_groups ($id_module_components = 0, $localCompone $level++; $tmp = $id_parent; $id_parent = (int) $group['id_sg']; - $childs = network_components_get_groups ($id_module_components, $localComponent); + $childs = network_components_get_groups($id_module_components, + $localComponent); $id_parent = $tmp; $level--; @@ -240,7 +241,7 @@ function network_components_get_groups ($id_module_components = 0, $localCompone break; case "oracle": $count = db_get_value_filter ('count(*)', 'tlocal_component', - array ('id_network_component_group' => (int) $group['id_sg'])); + array ('id_network_component_group' => (int) $group['id_sg'])); break; } if ($count > 0) @@ -262,12 +263,12 @@ function network_components_get_groups ($id_module_components = 0, $localCompone case "postgresql": $count = db_get_value_filter ('COUNT(*)', 'tnetwork_component', array ('id_group' => (int) $group['id_sg'], - 'id_modulo' => $id_module_components)); + 'id_modulo' => $id_module_components)); break; case "oracle": $count = db_get_value_filter ('count(*)', 'tnetwork_component', array ('id_group' => (int) $group['id_sg'], - 'id_modulo' => $id_module_components)); + 'id_modulo' => $id_module_components)); break; } if ($count > 0)