diff --git a/plugins/dynamix.plugin.manager/post-hooks/post_plugin_checks b/plugins/dynamix.plugin.manager/post-hooks/post_plugin_checks index 2b2f932c2..272a30b3f 100755 --- a/plugins/dynamix.plugin.manager/post-hooks/post_plugin_checks +++ b/plugins/dynamix.plugin.manager/post-hooks/post_plugin_checks @@ -50,7 +50,7 @@ case 'plugin': // update incorrect or missing support links if (plugin('support', $plugin) != $support) { $xml = @simplexml_load_file($plugin); - if ($xml->xpath('//PLUGIN/@support')[0]) { + if ($xml->xpath('//PLUGIN/@support')[0]??false) { // support link exists, update it $xml->xpath('//PLUGIN/@support')[0] = $support; } else {