mirror of
https://github.com/unraid/webgui.git
synced 2026-05-23 22:59:36 -05:00
Merge pull request #1917 from Squidly271/patch-1
VM Manager: Fix PHP warning
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user