Skip to content

Commit 94f452e

Browse files
author
Till Brehm
committed
Merge branch 'patch-1' into 'stable-3.1'
Fix issue when DNS zone import fails silently with OK message if $TTL is missing… See merge request ispconfig/ispconfig3!695
2 parents 09e83be + 6135422 commit 94f452e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/dns/dns_import.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@
611611
$retry = $soa['retry'];
612612
$expire = $soa['expire'];
613613
$minimum = $soa['minimum'];
614-
$ttl = $soa['ttl'];
614+
$ttl = isset($soa['ttl']) ? $soa['ttl'] : '86400';
615615
$xfer = '';
616616
$serial = $app->functions->intval($soa['serial']+1);
617617
//print_r($soa);

0 commit comments

Comments
 (0)