diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 894740e08a..a76b6b0a30 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2009-07-22 Miguel de Dios + + * godmode/modules/manage_network_templates_form.php: fix bug that the column + group had incorrect content. + Fixes: 2815118 + 2009-07-22 Miguel de Dios * general/header.php, images/lupa_15x15.png, include/functions_html.php diff --git a/pandora_console/godmode/modules/manage_network_templates_form.php b/pandora_console/godmode/modules/manage_network_templates_form.php index e5166fffb2..54773366fb 100644 --- a/pandora_console/godmode/modules/manage_network_templates_form.php +++ b/pandora_console/godmode/modules/manage_network_templates_form.php @@ -125,7 +125,7 @@ echo ""; if ($id_np > 0) { // Show associated modules, allow to delete, and to add - $sql = sprintf ("SELECT npc.id_nc AS component_id, nc.name, nc.type, nc.description, nc.id_module_group AS `group` + $sql = sprintf ("SELECT npc.id_nc AS component_id, nc.name, nc.type, nc.description, nc.id_group AS `group` FROM tnetwork_profile_component AS npc, tnetwork_component AS nc WHERE npc.id_nc = nc.id_nc AND npc.id_np = %d", $id_np);