summaryrefslogtreecommitdiffstats
path: root/frontends/php/chart_sla.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-10-24 05:20:19 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-10-24 05:20:19 +0000
commit9a1e779bc865fddde2adc39dde378f0a0439594a (patch)
tree472789ea587b232cb705de4a9f9783002a169566 /frontends/php/chart_sla.php
parentb9e14335fe68cdd6251239883f141a0e0556ac6b (diff)
downloadzabbix-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_sla.php')
-rw-r--r--frontends/php/chart_sla.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/chart_sla.php b/frontends/php/chart_sla.php
index e1a5f109..a07dccd8 100644
--- a/frontends/php/chart_sla.php
+++ b/frontends/php/chart_sla.php
@@ -54,8 +54,8 @@
$now=time(NULL);
$period_start=$now-7*24*3600;
$period_end=$now;
- $service=get_service_by_serviceid($_GET["serviceid"]);
- $stat=calculate_service_availability($_GET["serviceid"],$period_start,$period_end);
+ $service=get_service_by_serviceid($_REQUEST["serviceid"]);
+ $stat=calculate_service_availability($_REQUEST["serviceid"],$period_start,$period_end);
$problem=$stat["problem"];
$ok=$stat["ok"];