diff options
author | Pim van den Berg | 2015-06-22 14:40:11 +0200 |
---|---|---|
committer | Pim van den Berg | 2015-06-22 14:40:11 +0200 |
commit | f8b5ddbe75755f91d50ec870e176516ec38181c9 (patch) | |
tree | f44daae711b7ee246f476cf9db12abf96a93aea0 /graph.php | |
parent | layout: add transition to hamburger menu slideout (diff) | |
download | apt-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
86 | if ($aggr) { | 86 | if (isset($aggr) && $aggr) { |
87 | $_GET['pi'] = GET('pi', $pi[1]); | 87 | $_GET['pi'] = GET('pi', $pi[1]); |
88 | } | 88 | } |
89 | 89 | ||