diff --git a/emhttp/plugins/dynamix.docker.manager/include/Helpers.php b/emhttp/plugins/dynamix.docker.manager/include/Helpers.php index 820acef3d..3064d9066 100644 --- a/emhttp/plugins/dynamix.docker.manager/include/Helpers.php +++ b/emhttp/plugins/dynamix.docker.manager/include/Helpers.php @@ -59,7 +59,7 @@ function postToXML($post, $setOwnership=false) { $xml->DonateLink = xml_encode($post['contDonateLink']); $xml->Requires = xml_encode($post['contRequires']); - $size = is_array($post['confName']) ? count($post['confName']) : 0; + $size = is_array($post['confName']??null) ? count($post['confName']) : 0; for ($i = 0; $i < $size; $i++) { $Type = $post['confType'][$i]; $config = $xml->addChild('Config', xml_encode($post['confValue'][$i]));