X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/54ee471f77966a1228b02bff334f411cc26515de..cd26522ba6ff68c18e1504b022ca92f4d01827be:/Classes/class-plugin-git.php diff --git a/Classes/class-plugin-git.php b/Classes/class-plugin-git.php index 9bc5a77..4bf9dab 100644 --- a/Classes/class-plugin-git.php +++ b/Classes/class-plugin-git.php @@ -10,6 +10,10 @@ class PluginRepo { global $config; if (!isset($config['third-party-plugins'])) + { + $config['third-party-plugins'] = []; + } + if (empty($config['third-party-plugins'])) { $config['third-party-plugins']['data'] = NULL; $config['third-party-plugins']['timestamp'] = 0;