aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/graph.php
diff options
context:
space:
mode:
authorPim van den Berg2018-03-17 17:48:21 +0100
committerGitHub2018-03-17 17:48:21 +0100
commitaaa83636b9f5780333f93a1939b99001fc9add30 (patch)
tree7e8dc39dabf0f32df730d630a4a432cfca049ffe /graph.php
parentMerge pull request #156 from Arvur/master (diff)
parentgraph.php: Initialize $plugin_json variable. (diff)
downloadapt-panopticon_cgp-aaa83636b9f5780333f93a1939b99001fc9add30.zip
apt-panopticon_cgp-aaa83636b9f5780333f93a1939b99001fc9add30.tar.gz
apt-panopticon_cgp-aaa83636b9f5780333f93a1939b99001fc9add30.tar.bz2
apt-panopticon_cgp-aaa83636b9f5780333f93a1939b99001fc9add30.tar.xz
Merge pull request #159 from gaaf/fixes
graph.php: Initialize $plugin_json variable.
Diffstat (limited to '')
-rw-r--r--graph.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/graph.php b/graph.php
index f1696fa..b8a9206 100644
--- a/graph.php
+++ b/graph.php
@@ -38,6 +38,7 @@ if ($plugin == 'aggregation') {
38# plugin json 38# plugin json
39if(function_exists('json_decode')) 39if(function_exists('json_decode'))
40{ 40{
41 $plugin_json = null;
41 if (file_exists('plugin/'.$plugin.'.json')) { 42 if (file_exists('plugin/'.$plugin.'.json')) {
42 $json = file_get_contents('plugin/'.$plugin.'.json'); 43 $json = file_get_contents('plugin/'.$plugin.'.json');
43 $plugin_json = json_decode($json, true); 44 $plugin_json = json_decode($json, true);