diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-08-29 04:24:45 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-08-29 04:24:45 +0000 |
| commit | c79f8f2fa32a24fb2d5ae2b2e5e8cbad8b3fdf82 (patch) | |
| tree | 0933b84b72e82503e92afba4628a153d40049e36 /frontends/php/chart2.php | |
| parent | d6979e8ed003b82e31e7bd7402efa5264b4a8430 (diff) | |
| download | zabbix-c79f8f2fa32a24fb2d5ae2b2e5e8cbad8b3fdf82.tar.gz zabbix-c79f8f2fa32a24fb2d5ae2b2e5e8cbad8b3fdf82.tar.xz zabbix-c79f8f2fa32a24fb2d5ae2b2e5e8cbad8b3fdf82.zip | |
Changes in forms.
git-svn-id: svn://svn.zabbix.com/trunk@471 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart2.php')
| -rw-r--r-- | frontends/php/chart2.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
