From c79f8f2fa32a24fb2d5ae2b2e5e8cbad8b3fdf82 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Thu, 29 Aug 2002 04:24:45 +0000 Subject: Changes in forms. git-svn-id: svn://svn.zabbix.com/trunk@471 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/chart2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/php/chart2.php') diff --git a/frontends/php/chart2.php b/frontends/php/chart2.php index e2f2577f..9dd01576 100644 --- a/frontends/php/chart2.php +++ b/frontends/php/chart2.php @@ -112,7 +112,7 @@ $color[$item]=DBget_field($result2,$item,2); $host[$item]=DBget_field($result2,$item,3); - $result=DBselect("select clock,value from history where itemid=".$HTTP_GET_VARS["itemid"]." and clock>$from_time and clock<$to_time order by clock"); + $result=DBselect("select clock,value from history where itemid=$itemid and clock>$from_time and clock<$to_time order by clock"); $len[$item]=0; $x[$item]=array(); $y[$item]=array(); -- cgit