summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/triggers.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-08 14:54:32 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-08 14:54:32 +0000
commit579448298e554487e82ec07ea2f5b2a9cc6adfd0 (patch)
treef07eb8e7dfc6ea17616eab89011dd83ff13e4c2d /frontends/php/include/triggers.inc.php
parent8e31e9456753eb36e2630ddbb723581d8ca99f44 (diff)
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2821 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/triggers.inc.php')
-rw-r--r--frontends/php/include/triggers.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/php/include/triggers.inc.php b/frontends/php/include/triggers.inc.php
index ec7e7873..fc0c6539 100644
--- a/frontends/php/include/triggers.inc.php
+++ b/frontends/php/include/triggers.inc.php
@@ -1033,8 +1033,7 @@
$db_triggers = DBselect("select distinct t.description from hosts h,items i,triggers t,functions f $group_where".
" h.status=".HOST_STATUS_MONITORED." and h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=t.triggerid".
- " and t.status=".TRIGGER_STATUS_ENABLED.
- " group by 1");
+ " and t.status=".TRIGGER_STATUS_ENABLED);
while($triggers = DBfetch($db_triggers))
{
$table_row = array(nbsp($triggers["description"]));