summaryrefslogtreecommitdiffstats
path: root/frontends/php/chart_sla.php
diff options
context:
space:
mode:
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 9c2af066..fa022666 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($HTTP_GET_VARS["serviceid"]);
- $stat=calculate_service_availability($HTTP_GET_VARS["serviceid"],$period_start,$period_end);
+ $service=get_service_by_serviceid($_GET["serviceid"]);
+ $stat=calculate_service_availability($_GET["serviceid"],$period_start,$period_end);
$problem=$stat["problem"];
$ok=$stat["ok"];