Commit 94f452e0 authored by Till Brehm's avatar Till Brehm

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
parents 09e83be1 6135422b
......@@ -611,7 +611,7 @@ if(isset($_FILES['file']['name']) && is_uploaded_file($_FILES['file']['tmp_name'
$retry = $soa['retry'];
$expire = $soa['expire'];
$minimum = $soa['minimum'];
$ttl = $soa['ttl'];
$ttl = isset($soa['ttl']) ? $soa['ttl'] : '86400';
$xfer = '';
$serial = $app->functions->intval($soa['serial']+1);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment