diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-18 12:32:02 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-18 12:32:02 +0000 |
| commit | 4f1f420a91e557c2ab4a7ff9605fba260931bbdc (patch) | |
| tree | 48ff179492d1d1ae1d93061ec618392d281fef3a /frontends/php/tr_status.php | |
| parent | 01e94d67317be183b74fa97bd3d15ee99ab27d69 (diff) | |
| download | zabbix-4f1f420a91e557c2ab4a7ff9605fba260931bbdc.tar.gz zabbix-4f1f420a91e557c2ab4a7ff9605fba260931bbdc.tar.xz zabbix-4f1f420a91e557c2ab4a7ff9605fba260931bbdc.zip | |
- [DEV-171] improvements to escalation form (Artem)
- [DEV-137] small fixes (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5778 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/tr_status.php')
| -rw-r--r-- | frontends/php/tr_status.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontends/php/tr_status.php b/frontends/php/tr_status.php index b4c0ca4a..68f4f2f5 100644 --- a/frontends/php/tr_status.php +++ b/frontends/php/tr_status.php @@ -173,7 +173,7 @@ include_once "include/page_header.php"; $scripts_by_hosts = get_accessible_scripts_by_hosts(explode(',',$available_hosts)); - $result=DBselect('SELECT DISTINCT g.groupid,g.name '. + $sql = 'SELECT DISTINCT g.groupid,g.name '. ' FROM groups g, hosts_groups hg, hosts h, items i '. ' WHERE g.groupid in ('.$available_groups.') '. ' AND hg.groupid=g.groupid '. @@ -181,7 +181,9 @@ include_once "include/page_header.php"; ' AND h.hostid=i.hostid '. ' AND hg.hostid=h.hostid '. ' AND i.status='.ITEM_STATUS_ACTIVE. - ' ORDER BY g.name'); + ' ORDER BY g.name'; + + $result=DBselect($sql); while($row=DBfetch($result)){ $cmbGroup->AddItem( |
