diff --git a/php/src/ContainerDefinitionFetcher.php b/php/src/ContainerDefinitionFetcher.php index f846a811149..c31760cce23 100644 --- a/php/src/ContainerDefinitionFetcher.php +++ b/php/src/ContainerDefinitionFetcher.php @@ -53,7 +53,9 @@ private function GetDefinition(): array $path = DataConst::GetCommunityContainersDirectory() . '/' . $communityContainer . '/' . $communityContainer . '.json'; $additionalData = json_decode(file_get_contents($path), true); $data = array_merge_recursive($data, $additionalData); - $additionalContainerNames[] = $additionalData['aio_services_v1'][0]['container_name']; + if (isset($additionalData['aio_services_v1'][0]['display_name']) && $additionalData['aio_services_v1'][0]['display_name'] !== '') { + $additionalContainerNames[] = $additionalData['aio_services_v1'][0]['container_name']; + } } }