mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 05:30:07 -06:00
PHP8 support
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user