--- a/inc/record.inc.php Mon May 19 19:01:58 2008 +0000
+++ b/inc/record.inc.php Fri May 23 21:52:08 2008 +0000
@@ -203,7 +203,7 @@
error(ERR_DNS_IP);
return false;
}
- if (!is_valid_hostname($ns_name)) {
+ if (!is_valid_hostname($ns_name,0)) {
error(ERR_DNS_HOSTNAME);
return false;
}
@@ -641,7 +641,7 @@
{
global $db;
- if (is_valid_hostname_fqdn($domain)) {
+ if (is_valid_hostname_fqdn($domain,0)) {
$result = $db->query("SELECT id FROM domains WHERE name=".$db->quote($domain));
if ($result->numRows() == 0) {
return false;