mirror of
https://github.com/unraid/webgui.git
synced 2026-02-18 06:58:47 -06:00
PHP8 Fix
This commit is contained in:
@@ -978,7 +978,7 @@ class DockerClient {
|
||||
$c['Id'] = $this->extractID($ct['Id']);
|
||||
$c['ParentId'] = $this->extractID($ct['ParentId']);
|
||||
$c['Size'] = $this->formatBytes($ct['Size']);
|
||||
$c['VirtualSize'] = $this->formatBytes($ct['VirtualSize']);
|
||||
$c['VirtualSize'] = $this->formatBytes($ct['VirtualSize'] ?? null);
|
||||
$c['Tags'] = array_map('htmlspecialchars', $ct['RepoTags'] ?? []);
|
||||
$c['Repository'] = DockerUtil::parseImageTag($ct['RepoTags'][0]??'')['strRepo'];
|
||||
$c['usedBy'] = $this->usedBy($c['Id']);
|
||||
|
||||
Reference in New Issue
Block a user