fix all places

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-05-13 18:07:40 +02:00
parent b9c57dc8d9
commit 3c91fa84e3
4 changed files with 4 additions and 4 deletions

View file

@ -305,7 +305,7 @@ class ConfigurationManager
if (empty($dnsRecordIP)) {
$record = dns_get_record($domain, DNS_AAAA);
if (!empty($record[0]['ipv6'])) {
if (isset($record[0]['ipv6']) && !empty($record[0]['ipv6'])) {
$dnsRecordIP = $record[0]['ipv6'];
}
}