[feladat @ 280]
authorrejo
Mon, 19 May 2008 19:01:58 +0000
changeset 173 6d0e4e6bedad
parent 172 4708e6b152a0
child 174 a17ec7de4bbb
[feladat @ 280] Fixed a small and non-critical bug when validating SOA records. An error messages was shown, validation or process wasn't influenced.
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];