Skip to content

Commit

Permalink
graph.php: Initialize $plugin_json variable.
Browse files Browse the repository at this point in the history
Prevents error messages.
  • Loading branch information
gaaf committed Feb 15, 2018
1 parent f2b6ed8 commit 0504777
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 0504777

Please sign in to comment.