From 7fe4773ebfff9cbe8f02e86aaeceae87ba4bf661 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 30 Aug 2007 09:57:02 +0000 Subject: - support of macro {ITEM.LASTVALUE} for notifications and trigger names (Alexei) [svn merge -r4699:4702 svn://svn.zabbix.com/branches/1.4] git-svn-id: svn://svn.zabbix.com/trunk@4703 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/triggers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/php/triggers.php') diff --git a/frontends/php/triggers.php b/frontends/php/triggers.php index a7c0ff05..72a37f3c 100644 --- a/frontends/php/triggers.php +++ b/frontends/php/triggers.php @@ -155,7 +155,7 @@ include_once "include/page_header.php"; $result = false; if($trigger_data = DBfetch( - DBselect("select distinct t.description,t.expression,h.host". + DBselect("select distinct t.triggerid,t.description,t.expression,h.host". " from triggers t left join functions f on t.triggerid=f.triggerid ". " left join items i on f.itemid=i.itemid ". " left join hosts h on i.hostid=h.hostid ". -- cgit