summaryrefslogtreecommitdiffstats
path: root/frontends/php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php')
-rw-r--r--frontends/php/charts.php4
-rw-r--r--frontends/php/graphs.php5
2 files changed, 9 insertions, 0 deletions
diff --git a/frontends/php/charts.php b/frontends/php/charts.php
index 45252c2b..afa4014c 100644
--- a/frontends/php/charts.php
+++ b/frontends/php/charts.php
@@ -54,6 +54,10 @@
$_GET["keep"]=1;
}
+ if(isset($_GET["groupid"])&&($_GET["groupid"]==0))
+ {
+ unset($_GET["groupid"]);
+ }
if(isset($_GET["graphid"])&&($_GET["graphid"]==0))
{
diff --git a/frontends/php/graphs.php b/frontends/php/graphs.php
index fca5e849..f93e2117 100644
--- a/frontends/php/graphs.php
+++ b/frontends/php/graphs.php
@@ -76,6 +76,11 @@
?>
<?php
+ if(isset($_GET["groupid"])&&($_GET["groupid"]==0))
+ {
+ unset($_GET["groupid"]);
+ }
+
if(isset($_GET["graphid"])&&($_GET["graphid"]==0))
{
unset($_GET["graphid"]);