From a46862043190f912dcc47d1bb2d1d188fa8ff0e9 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Sun, 8 Dec 2002 15:38:16 +0000 Subject: - fixed selection of icon and host in sysmap.php. Thanks to S�bastien "slix" Li�nard. (Alexei) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.zabbix.com/trunk@586 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/sysmap.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'frontends/php/sysmap.php') diff --git a/frontends/php/sysmap.php b/frontends/php/sysmap.php index 5c1634d2..7d6de98e 100644 --- a/frontends/php/sysmap.php +++ b/frontends/php/sysmap.php @@ -209,7 +209,8 @@ { $hostid_=DBget_field($result,$i,0); $host_=DBget_field($result,$i,1); - if(isset($HTTP_GET_VARS["hostid"]) && ($HTTP_GET_VARS["hostid"]==$hostid_)) + if(isset($HTTP_GET_VARS["shostid"]) && ($hostid==$hostid_)) +// if(isset($HTTP_GET_VARS["hostid"]) && ($HTTP_GET_VARS["hostid"]==$hostid_)) { echo "