# HG changeset patch # User rejo # Date 1206635451 0 # Node ID 737a213ad90ccefbaeaeea857f93178ac3e2eb98 # Parent 6b4d19ef3de4186f8d0f2eff34e6cbb736aebe90 [feladat @ 195] Extended name field validation. diff -r 6b4d19ef3de4 -r 737a213ad90c 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))