inc/record.inc.php
changeset 170 391e744a1def
parent 169 41353c2e0c9f
child 171 2a10febd6af9
--- a/inc/record.inc.php	Sun May 18 07:56:11 2008 +0000
+++ b/inc/record.inc.php	Sun May 18 11:51:59 2008 +0000
@@ -641,7 +641,7 @@
 {
 	global $db;
 
-	if (is_valid_domain($domain)) {
+	if (is_valid_hostname_fqdn($domain)) {
 		$result = $db->query("SELECT id FROM domains WHERE name=".$db->quote($domain));
 		if ($result->numRows() == 0) {
 			return false;