diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-12-27 07:49:59 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-12-27 07:49:59 +0000 |
| commit | 995a5adc8d6239a1fd9e605c57dea2d4ce19bc1d (patch) | |
| tree | 5ec555e5527c31d7b081afeaac5772c10c83b15d /frontends/php/include | |
| parent | deec785a7f7371725395459b709986a33868f729 (diff) | |
| download | zabbix-995a5adc8d6239a1fd9e605c57dea2d4ce19bc1d.tar.gz zabbix-995a5adc8d6239a1fd9e605c57dea2d4ce19bc1d.tar.xz zabbix-995a5adc8d6239a1fd9e605c57dea2d4ce19bc1d.zip | |
- [DEV-90] fixed SQL for pgsql (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5202 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
| -rw-r--r-- | frontends/php/include/reports.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/reports.inc.php b/frontends/php/include/reports.inc.php index 066071c3..51743c43 100644 --- a/frontends/php/include/reports.inc.php +++ b/frontends/php/include/reports.inc.php @@ -118,7 +118,7 @@ function show_report2_header($config,$available_hosts){ if(isset($_REQUEST['tpl_triggerid']) && ($_REQUEST['tpl_triggerid'] > 0)) $sql_cond.= ' AND t.templateid='.$_REQUEST['tpl_triggerid']; - $result = DBselect('SELECT DISTINCT g.groupid,g.name '. + $result = DBselect('SELECT DISTINCT g.groupid,g.name,h.host,t.description '. ' FROM triggers t,hosts h,items i,functions f, hosts_templates ht, groups g, hosts_groups hg '. ' WHERE f.itemid=i.itemid '. ' AND h.hostid=i.hostid '. |
