diff options
Diffstat (limited to 'frontends/php/tr_status.php')
-rw-r--r-- | frontends/php/tr_status.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/tr_status.php b/frontends/php/tr_status.php index 3b0324a1..c988a2c6 100644 --- a/frontends/php/tr_status.php +++ b/frontends/php/tr_status.php @@ -433,7 +433,7 @@ include_once "include/page_header.php"; $sql = 'SELECT DISTINCT t.triggerid,t.status,t.description, t.expression,t.priority, '. ' t.lastchange,t.comments,t.url,t.value,h.host,h.hostid,t.type '. - ' FROM triggers t,hosts h,items i,functions f '. + ' FROM triggers t,hosts h,items i,functions f '.($_REQUEST['groupid']?', hosts_groups hg ':''). ' WHERE f.itemid=i.itemid '. ' AND h.hostid=i.hostid '. ' AND t.triggerid=f.triggerid '. |