summaryrefslogtreecommitdiffstats
path: root/frontends/php/graph.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-08-29 10:06:42 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-08-29 10:06:42 +0000
commit450bedfbd08dbb30b3a6fa47abe411e2bc689024 (patch)
treeb2a57904c928e0d63785109b7d8db93723e8e365 /frontends/php/graph.php
parent2ce640571ab5c0db1a26858f96ba804e36f1fb37 (diff)
downloadzabbix-450bedfbd08dbb30b3a6fa47abe411e2bc689024.tar.gz
zabbix-450bedfbd08dbb30b3a6fa47abe411e2bc689024.tar.xz
zabbix-450bedfbd08dbb30b3a6fa47abe411e2bc689024.zip
- misc fixes for host-templates linkage (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2009 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/graph.php')
-rw-r--r--frontends/php/graph.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/graph.php b/frontends/php/graph.php
index 6c331ceb..3584f112 100644
--- a/frontends/php/graph.php
+++ b/frontends/php/graph.php
@@ -48,7 +48,7 @@
$gitemid=add_item_to_graph($_GET["graphid"],$_GET["itemid"],$_GET["color"],$_GET["drawtype"],$_GET["sortorder"]);
if($gitemid)
{
- add_graph_item_to_templates($gitemid);
+ add_graph_item_to_linked_hosts($gitemid);
$graph=get_graph_by_graphid($_GET["graphid"]);
$item=get_item_by_itemid($_GET["itemid"]);
add_audit(AUDIT_ACTION_ADD,AUDIT_RESOURCE_GRAPH_ELEMENT,"Graph ID [".$_GET["graphid"]."] Name [".$graph["name"]."] Added [".$item["description"]."]");