mirror of
https://github.com/unraid/webgui.git
synced 2026-01-01 23:20:35 -06:00
Refactor: Coderabbit suggestions
This commit is contained in:
@@ -15,8 +15,7 @@ foreach ($autostart as $container) {
|
||||
}
|
||||
|
||||
$doc = new DOMDocument();
|
||||
$doc->load("/boot/config/plugins/dockerMan/templates-user/my-{$cont[0]}.xml");
|
||||
if ( ! $doc ) {
|
||||
if (!$doc->load("/boot/config/plugins/dockerMan/templates-user/my-{$cont[0]}.xml")) {
|
||||
$newAuto[] = $container;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user