diff -r 3673b1c9246c -r c795dd75a77e inc/dns.inc.php --- a/inc/dns.inc.php Thu Apr 10 19:42:47 2008 +0000 +++ b/inc/dns.inc.php Fri Apr 11 10:19:14 2008 +0000 @@ -178,7 +178,7 @@ $prio=0; } // Validate the TTL, it has to be numeric. - $ttl = (!isset($ttl) || !is_numeric($ttl)) ? $DEFAULT_TTL : $ttl; + $ttl = (!isset($ttl) || !is_numeric($ttl)) ? $dns_ttl : $ttl; return true; } @@ -439,8 +439,8 @@ if(is_numeric($soacontent[1])) { // its a TTL field, or at least not hostmaster or alike // Set final string to the default hostmaster addy - global $HOSTMASTER; - $totalsoa .= " ". $HOSTMASTER; + global $dns_hostmaster; + $totalsoa .= " ". $dns_hostmaster; } else { $totalsoa .= " ".$soacontent[1]; }