aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/graph.php
diff options
context:
space:
mode:
authorPim van den Berg2015-06-22 14:40:11 +0200
committerPim van den Berg2015-06-22 14:40:11 +0200
commitf8b5ddbe75755f91d50ec870e176516ec38181c9 (patch)
treef44daae711b7ee246f476cf9db12abf96a93aea0 /graph.php
parentlayout: add transition to hamburger menu slideout (diff)
downloadapt-panopticon_cgp-f8b5ddbe75755f91d50ec870e176516ec38181c9.zip
apt-panopticon_cgp-f8b5ddbe75755f91d50ec870e176516ec38181c9.tar.gz
apt-panopticon_cgp-f8b5ddbe75755f91d50ec870e176516ec38181c9.tar.bz2
apt-panopticon_cgp-f8b5ddbe75755f91d50ec870e176516ec38181c9.tar.xz
fix PHP Notice about Undefined variable $aggr
Closes #122
Diffstat (limited to 'graph.php')
-rw-r--r--graph.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph.php b/graph.php
index 32748d6..f1696fa 100644
--- a/graph.php
+++ b/graph.php
@@ -83,7 +83,7 @@ switch ($plugin_json[$type]['type']) {
83} 83}
84 84
85# in case of aggregation, reset pi after initializing $obj to get a correct title 85# in case of aggregation, reset pi after initializing $obj to get a correct title
86if ($aggr) { 86if (isset($aggr) && $aggr) {
87 $_GET['pi'] = GET('pi', $pi[1]); 87 $_GET['pi'] = GET('pi', $pi[1]);
88} 88}
89 89