diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-10-24 05:20:19 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-10-24 05:20:19 +0000 |
| commit | 9a1e779bc865fddde2adc39dde378f0a0439594a (patch) | |
| tree | 472789ea587b232cb705de4a9f9783002a169566 /frontends/php/chart.php | |
| parent | b9e14335fe68cdd6251239883f141a0e0556ac6b (diff) | |
| download | zabbix-9a1e779bc865fddde2adc39dde378f0a0439594a.tar.gz zabbix-9a1e779bc865fddde2adc39dde378f0a0439594a.tar.xz zabbix-9a1e779bc865fddde2adc39dde378f0a0439594a.zip | |
- all $_GET and $_POST replaced by $_REQUEST. Thanks to James Wells. (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2215 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart.php')
| -rw-r--r-- | frontends/php/chart.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/frontends/php/chart.php b/frontends/php/chart.php index 98249948..5580e957 100644 --- a/frontends/php/chart.php +++ b/frontends/php/chart.php @@ -23,27 +23,27 @@ include "include/classes.inc.php"; $graph=new Graph(); - if(isset($_GET["period"])) + if(isset($_REQUEST["period"])) { - $graph->setPeriod($_GET["period"]); + $graph->setPeriod($_REQUEST["period"]); } - if(isset($_GET["from"])) + if(isset($_REQUEST["from"])) { - $graph->setFrom($_GET["from"]); + $graph->setFrom($_REQUEST["from"]); } - if(isset($_GET["width"])) + if(isset($_REQUEST["width"])) { - $graph->setWidth($_GET["width"]); + $graph->setWidth($_REQUEST["width"]); } - if(isset($_GET["height"])) + if(isset($_REQUEST["height"])) { - $graph->setHeight($_GET["height"]); + $graph->setHeight($_REQUEST["height"]); } - if(isset($_GET["border"])) + if(isset($_REQUEST["border"])) { $graph->setBorder(0); } - $graph->addItem($_GET["itemid"]); + $graph->addItem($_REQUEST["itemid"]); $graph->Draw(); ?> |
