summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/events.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-15 11:46:29 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-15 11:46:29 +0000
commitf2cdda2e9d91f04e12687423d54a1bf137d392f5 (patch)
tree02291faf0cab6ef2250bbf87662fe0351c7b98bd /frontends/php/include/events.inc.php
parentce52fd6e6dcef1015d59ce046a0b19f7000a2812 (diff)
downloadzabbix-f2cdda2e9d91f04e12687423d54a1bf137d392f5.tar.gz
zabbix-f2cdda2e9d91f04e12687423d54a1bf137d392f5.tar.xz
zabbix-f2cdda2e9d91f04e12687423d54a1bf137d392f5.zip
- increased message size for alerts (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3711 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/events.inc.php')
-rw-r--r--frontends/php/include/events.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/events.inc.php b/frontends/php/include/events.inc.php
index 9e402ee1..6334725b 100644
--- a/frontends/php/include/events.inc.php
+++ b/frontends/php/include/events.inc.php
@@ -39,7 +39,7 @@
$sql_cond = " and h.hostid=hg.hostid and hg.groupid=".$groupid;
}
- $result = DBselect(" select t.triggerid,t.priority,t.description,h.host,e.clock,e.value ".
+ $result = DBselect("select distinct t.triggerid,t.priority,t.description,h.host,e.clock,e.value ".
" from events e, triggers t, functions f, items i, hosts h ".$sql_from.
" where ".DBid2nodeid("t.triggerid")."=".$nodeid.
" and e.triggerid=t.triggerid and t.triggerid=f.triggerid and f.itemid=i.itemid ".