mirror of
https://github.com/unraid/webgui.git
synced 2026-03-13 14:30:29 -05:00
PHP Warning Update
This commit is contained in:
@@ -319,7 +319,7 @@ class DockerTemplates {
|
||||
foreach ($DockerClient->getDockerContainers() as $ct) {
|
||||
$name = $ct['Name'];
|
||||
$image = $ct['Image'];
|
||||
$tmp = (count($info[$name])) ? $info[$name] : [];
|
||||
$tmp = is_array($info[$name]) ? $info[$name] : [];
|
||||
|
||||
$tmp['running'] = $ct['Running'];
|
||||
$tmp['autostart'] = in_array($name, $allAutoStart);
|
||||
|
||||
Reference in New Issue
Block a user