[feladat @ 195]
authorrejo
Thu, 27 Mar 2008 16:30:51 +0000
changeset 95 737a213ad90c
parent 94 6b4d19ef3de4
child 96 35cd9e082b90
[feladat @ 195] Extended name field validation.
inc/dns.inc.php
--- a/inc/dns.inc.php	Thu Mar 27 16:11:46 2008 +0000
+++ b/inc/dns.inc.php	Thu Mar 27 16:30:51 2008 +0000
@@ -70,6 +70,8 @@
 
 	if ($name == "" || $name == "@") {
 		$name = $domain;
+	} else {
+		$name = $name . "." . $domain ;
 	}
 
 	if (preg_match('!@\.!i', $name))