summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/hosts.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-23 08:06:13 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-23 08:06:13 +0000
commit781cb8d7985043505364aa3daa364e1fd3f34d5b (patch)
treef87df423894f9998e1f3b110f05b98b3aa3f60a5 /frontends/php/include/hosts.inc.php
parent220d7fe4a93c10c96f8d7021227f0ff07e411989 (diff)
- startrd developement of dbmanager on serverside
- minor fixes of template linkage on frontend git-svn-id: svn://svn.zabbix.com/trunk@4045 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/hosts.inc.php')
-rw-r--r--frontends/php/include/hosts.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/hosts.inc.php b/frontends/php/include/hosts.inc.php
index 26016cec..fc70c6b2 100644
--- a/frontends/php/include/hosts.inc.php
+++ b/frontends/php/include/hosts.inc.php
@@ -626,7 +626,7 @@ require_once "include/items.inc.php";
return false;
}
if($db_app && $applicationid!=null)
- { // delete old item with same name
+ { // delete old application with same name
delete_application($db_app["applicationid"]);
}
@@ -679,7 +679,7 @@ require_once "include/items.inc.php";
return $applicationid;
if($templateid == 0){
- delete_application($itemid);
+ delete_application($applicationid);
}
}