From 0504777c07fc5e7b1274a02a29141c1ccd019164 Mon Sep 17 00:00:00 2001 From: Alex Hermann Date: Thu, 15 Feb 2018 19:07:40 +0100 Subject: graph.php: Initialize $plugin_json variable. Prevents error messages. --- graph.php | 1 + 1 file changed, 1 insertion(+) 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') { # plugin json if(function_exists('json_decode')) { + $plugin_json = null; if (file_exists('plugin/'.$plugin.'.json')) { $json = file_get_contents('plugin/'.$plugin.'.json'); $plugin_json = json_decode($json, true); -- cgit v1.1