[Web] Cast docker info as array in debug.php (#4256)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>master
parent
8f733a903b
commit
bdf601ff28
|
@ -102,7 +102,7 @@ $clamd_status = (preg_match("/^([yY][eE][sS]|[yY])+$/", $_ENV["SKIP_CLAMD"])) ?
|
|||
<div class="panel-body">
|
||||
<ul class="list-group">
|
||||
<?php
|
||||
$containers = (docker('info'));
|
||||
$containers = (array) docker('info');
|
||||
ksort($containers);
|
||||
foreach ($containers as $container => $container_info) {
|
||||
if ($container == 'clamd-mailcow' && $clamd_status === false) { continue; }
|
||||
|
|
Loading…
Reference in New Issue