From fd95eb3bb2cd34cd199f891da47a91ff4dcbed90 Mon Sep 17 00:00:00 2001 From: Ian Berry Date: Thu, 13 Mar 2003 00:52:37 +0000 Subject: [PATCH] old table reference git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@682 860744bd-22fc-0310-8c96-e9fe5004b5ca --- host.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/host.php b/host.php index 9bdd49eaf..48c8fc6fd 100644 --- a/host.php +++ b/host.php @@ -693,7 +693,7 @@ function host_edit() { if (!empty($_GET["id"])) { $host = db_fetch_row("select * from host where id=" . $_GET["id"]); - $header_label = "[edit: " . $host["hostname"] . "]"; + $header_label = "[edit: " . $host["description"] . "]"; }else{ $header_label = "[new]"; } @@ -804,9 +804,9 @@ function host_edit() { $graph_templates = db_fetch_assoc("select graph_templates.id as graph_template_id, graph_templates.name as graph_template_name - from host_template_graph_template, graph_templates - where host_template_graph_template.graph_template_id=graph_templates.id - and host_template_graph_template.host_template_id=" . $host["host_template_id"] . " + from host_template_graph, graph_templates + where host_template_graph.graph_template_id=graph_templates.id + and host_template_graph.host_template_id=" . $host["host_template_id"] . " order by graph_templates.name"); $j = 0; $_graph_template_id = "";