Merge pull request #1917 from Squidly271/patch-1

VM Manager: Fix PHP warning
This commit is contained in:
tom mortensen
2024-11-15 16:01:58 -08:00
committed by GitHub
@@ -712,7 +712,7 @@ private static $encoding = 'UTF-8';
$domain_cfgfile = "/boot/config/domain.cfg";
$domain_cfg = parse_ini_file($domain_cfgfile);
if ($domain_cfg['DEBUG'] != "yes") {
if ( ($domain_cfg['DEBUG'] ?? false) != "yes") {
error_reporting(0);
}