summaryrefslogtreecommitdiffstats
path: root/frontends/php/items.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/items.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/items.php')
-rw-r--r--frontends/php/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php
index 1c7b2bda..06437251 100644
--- a/frontends/php/items.php
+++ b/frontends/php/items.php
@@ -97,7 +97,7 @@
if($_GET["register"]=="add")
{
$itemid=add_item($_GET["description"],$_GET["key"],$_GET["hostid"],$_GET["delay"],$_GET["history"],$_GET["status"],$_GET["type"],$_GET["snmp_community"],$_GET["snmp_oid"],$_GET["value_type"],$_GET["trapper_hosts"],$_GET["snmp_port"],$_GET["units"],$_GET["multiplier"],$_GET["delta"],$_GET["snmpv3_securityname"],$_GET["snmpv3_securitylevel"],$_GET["snmpv3_authpassphrase"],$_GET["snmpv3_privpassphrase"],$_GET["formula"],$_GET["trends"]);
- add_item_to_templates($itemid);
+ add_item_to_linked_hosts($itemid);
show_messages($itemid, S_ITEM_ADDED, S_CANNOT_ADD_ITEM);
unset($_GET["itemid"]);
unset($itemid);