diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-11-25 10:27:05 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-11-25 10:27:05 +0000 |
| commit | 8aee7a4bf11b6a36d74892f56d8937219cba0be0 (patch) | |
| tree | 8cb0ef378685a801cc14e2228ca4bf7fe46238ff /frontends/php/latest.php | |
| parent | 4eeeb02ee16f99f6b2d692f7e863ebfca66c1c63 (diff) | |
| download | zabbix-8aee7a4bf11b6a36d74892f56d8937219cba0be0.tar.gz zabbix-8aee7a4bf11b6a36d74892f56d8937219cba0be0.tar.xz zabbix-8aee7a4bf11b6a36d74892f56d8937219cba0be0.zip | |
Cleanup of PHP code.
git-svn-id: svn://svn.zabbix.com/trunk@2357 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/latest.php')
| -rw-r--r-- | frontends/php/latest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/latest.php b/frontends/php/latest.php index 35e08a1e..6c1bab01 100644 --- a/frontends/php/latest.php +++ b/frontends/php/latest.php @@ -153,8 +153,8 @@ // echo "<br>"; if(!isset($_REQUEST["select"])||($_REQUEST["select"] == "")) { - $result=DBselect("select host from hosts where hostid=".$_REQUEST["hostid"]); - $host=DBget_field($result,0,0); + $result=get_host_by_hostid($_REQUEST["hostid"]); + $host=$result["host"]; // show_table_header("<a href=\"latest.php?hostid=".$_REQUEST["hostid"]."\">$host</a>"); } else |
