Skip to content

Commit

Permalink
Merge pull request #159 from gaaf/fixes
Browse files Browse the repository at this point in the history
graph.php: Initialize $plugin_json variable.
  • Loading branch information
pommi authored Mar 17, 2018
2 parents f2b6ed8 + 0504777 commit aaa8363
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions graph.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
# 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);
Expand Down

0 comments on commit aaa8363

Please sign in to comment.