# HG changeset patch # User rejo # Date 1211223718 0 # Node ID 6d0e4e6bedadeafec0a2976f5f9cb0cf0cefc4e6 # Parent 4708e6b152a08b0b74529515a3160dad843ac69e [feladat @ 280] Fixed a small and non-critical bug when validating SOA records. An error messages was shown, validation or process wasn't influenced. diff -r 4708e6b152a0 -r 6d0e4e6bedad inc/dns.inc.php --- a/inc/dns.inc.php Mon May 19 10:20:44 2008 +0000 +++ b/inc/dns.inc.php Mon May 19 19:01:58 2008 +0000 @@ -284,7 +284,7 @@ if ($field_count == 0 || $field_count > 7) { return false; } else { - if (!is_valid_hostname_fqdn($fields[0]) || preg_match('/\.arpa\.?$/',$fields[0])) { + if (!is_valid_hostname_fqdn($fields[0],0) || preg_match('/\.arpa\.?$/',$fields[0])) { return false; } $final_soa = $fields[0];