fix wrong type when dns zone for system-hostname is active

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-12-11 14:20:08 +01:00
parent a721bb3f21
commit ec0026ecfd

View File

@@ -244,7 +244,7 @@ abstract class DnsBase
'zonefile' => '',
'froxlorhost' => '1'
];
$domains['none'] = $hostname_arr;
$domains[0] = $hostname_arr;
}
if (empty($domains)) {