mirror of
https://github.com/unraid/webgui.git
synced 2026-02-07 09:29:18 -06:00
Docker: fixed javascript error when no containers exist
This commit is contained in:
@@ -41,7 +41,7 @@ if (file_exists($user_prefs)) {
|
||||
|
||||
// Read container info
|
||||
$allInfo = $DockerTemplates->getAllInfo();
|
||||
$docker = ['var docker=[];'];
|
||||
$docker = [];
|
||||
$null = '0.0.0.0';
|
||||
|
||||
$autostart = @file($autostart_file, FILE_IGNORE_NEW_LINES) ?: [];
|
||||
|
||||
Reference in New Issue
Block a user