summaryrefslogtreecommitdiffstats
path: root/frontends/php/include
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-05-02 16:59:19 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-05-02 16:59:19 +0000
commit0fa1a1bc3a92cc38bf97e1353568e8389b583f0f (patch)
treec4a7a5aea52ff064bc0cf9dd373e45a94772826a /frontends/php/include
parentde0c98712c41580dd6ca730cfdb2670d5c3fa5d0 (diff)
downloadzabbix-0fa1a1bc3a92cc38bf97e1353568e8389b583f0f.tar.gz
zabbix-0fa1a1bc3a92cc38bf97e1353568e8389b583f0f.tar.xz
zabbix-0fa1a1bc3a92cc38bf97e1353568e8389b583f0f.zip
- fixed number of trapped items in STATUS OF ZABBIX. Thanks to Igor. (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1327 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
-rw-r--r--frontends/php/include/config.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index 55dbe76f..3b491c41 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -4604,7 +4604,7 @@ where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=$triggerid";
$result=DBselect("select count(*) from items where status=3");
$stat["items_count_not_supported"]=DBget_field($result,0,0);
- $result=DBselect("select count(*) from items where status=2");
+ $result=DBselect("select count(*) from items where type=2");
$stat["items_count_trapper"]=DBget_field($result,0,0);
$result=DBselect("select count(*) from hosts");