summaryrefslogtreecommitdiffstats
path: root/frontends/php/hosts.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-25 10:46:56 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-25 10:46:56 +0000
commit800ef4ec1472f443cbc7a69e0267071d33aae489 (patch)
tree21d9a491aa84c328127ce01687c641a15dd659b8 /frontends/php/hosts.php
parenta098eba611e1633be9a3b168cdbcf71751f0ae1a (diff)
downloadzabbix-800ef4ec1472f443cbc7a69e0267071d33aae489.tar.gz
zabbix-800ef4ec1472f443cbc7a69e0267071d33aae489.tar.xz
zabbix-800ef4ec1472f443cbc7a69e0267071d33aae489.zip
- fixed deletion of applications with httptests (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3753 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/hosts.php')
-rw-r--r--frontends/php/hosts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php
index 53b4244c..5fa97d44 100644
--- a/frontends/php/hosts.php
+++ b/frontends/php/hosts.php
@@ -438,7 +438,7 @@ include_once "include/page_header.php";
$result = 0;
$applications = get_request("applications",array());
- $db_applications = DBselect("select applicationid, name from applications ".
+ $db_applications = DBselect("select applicationid, name, hostid from applications ".
"where ".DBid2nodeid("applicationid")."=".$ZBX_CURNODEID);
while($db_app = DBfetch($db_applications))