From a46fae5bb117c09a378ed1856e34a9aadbd26b67 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 22 Jul 2009 16:04:32 +0000 Subject: [PATCH] 2009-07-22 Miguel de Dios * godmode/modules/manage_network_templates_form.php: fix bug that the column group had incorrect content. Fixes: 2815118 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1815 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ .../godmode/modules/manage_network_templates_form.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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);