summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/items.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-10-27 14:11:35 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-10-27 14:11:35 +0000
commit48dcc49d6e6c1074303b5bc7831045b43799c080 (patch)
tree157c501aac5882c79725b208ffd3838e33c259f7 /frontends/php/include/items.inc.php
parent9c4a763c083baa2567ce1cd02b8446f5899177dc (diff)
downloadzabbix-48dcc49d6e6c1074303b5bc7831045b43799c080.tar.gz
zabbix-48dcc49d6e6c1074303b5bc7831045b43799c080.tar.xz
zabbix-48dcc49d6e6c1074303b5bc7831045b43799c080.zip
minor fix
git-svn-id: svn://svn.zabbix.com/trunk@3390 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/items.inc.php')
-rw-r--r--frontends/php/include/items.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/items.inc.php b/frontends/php/include/items.inc.php
index 271061f5..cf7ae987 100644
--- a/frontends/php/include/items.inc.php
+++ b/frontends/php/include/items.inc.php
@@ -247,7 +247,7 @@
// add items to child hosts
- $db_hosts = DBselect("select hostid from hosts where templateid=".$host["hostid"]);
+ $db_hosts = get_hosts_by_templateid($host["hostid"]);
while($db_host = DBfetch($db_hosts))
{
// recursion