From 94097ff20d0cff56b294391d87f8966f894d9366 Mon Sep 17 00:00:00 2001 From: Squidly271 Date: Fri, 17 Feb 2023 13:22:14 -0500 Subject: [PATCH] PHP8 Fix --- plugins/dynamix.docker.manager/include/DockerContainers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix.docker.manager/include/DockerContainers.php b/plugins/dynamix.docker.manager/include/DockerContainers.php index a6ee7275c..9f9ff26d7 100644 --- a/plugins/dynamix.docker.manager/include/DockerContainers.php +++ b/plugins/dynamix.docker.manager/include/DockerContainers.php @@ -76,7 +76,7 @@ foreach ($containers as $ct) { $project = html_entity_decode($info['Project']??''); $registry = html_entity_decode($info['registry']??''); $donateLink = html_entity_decode($info['DonateLink']??''); - $readme = html_entity_decode($info['ReadMe']); + $readme = html_entity_decode($info['ReadMe']??''); $menu = sprintf("onclick=\"addDockerContainerContext('%s','%s','%s',%s,%s,%s,%s,'%s','%s','%s','%s','%s','%s', '%s','%s')\"", addslashes($name), addslashes($ct['ImageId']), addslashes($template), $running, $paused, $updateStatus, $is_autostart, addslashes($webGui), $shell, $id, addslashes($support), addslashes($project),addslashes($registry),addslashes($donateLink),addslashes($readme)); $docker[] = "docker.push({name:'$name',id:'$id',state:$running,pause:$paused,update:$updateStatus});"; $shape = $running ? ($paused ? 'pause' : 'play') : 'square';