From c19a405c3932919daf764c4b7d3d1fe652fc973b Mon Sep 17 00:00:00 2001 From: Squidly271 Date: Thu, 30 Mar 2023 15:33:30 -0400 Subject: [PATCH] PHP8 update --- plugins/dynamix.plugin.manager/include/ShowPlugins.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/dynamix.plugin.manager/include/ShowPlugins.php b/plugins/dynamix.plugin.manager/include/ShowPlugins.php index b43144349..5b699e336 100644 --- a/plugins/dynamix.plugin.manager/include/ShowPlugins.php +++ b/plugins/dynamix.plugin.manager/include/ShowPlugins.php @@ -164,6 +164,7 @@ foreach (glob($plugins,GLOB_NOSORT) as $plugin_link) { $latest = plugin('version',$filename); if ($os ? version_compare($latest,$version,'>') : strcmp($latest,$version) > 0) { $version .= "
$latest"; + $error = null; if ( ! $os && (version_compare(plugin("min",$filename,$error) ?: "1.0",$Unraid['version'],">") || version_compare(plugin("max",$filename,$error) ?: "999.9.9",$Unraid['version'],"<") ) ) { $status = " "._("Update Incompatible").""; } else {