Enleve les espaces en debut et en fin de TLD lors de l'ajout
This commit is contained in:
parent
6873e79b23
commit
e994749be1
|
@ -939,6 +939,8 @@ EOF;
|
|||
$err->raise("admin",_("The TLD name is mandatory"));
|
||||
return false;
|
||||
}
|
||||
$tld=trim($tld);
|
||||
|
||||
$db->query("SELECT tld FROM tld WHERE tld='$tld';");
|
||||
if ($db->next_record()) {
|
||||
$err->raise("admin",_("This TLD already exist"));
|
||||
|
|
Loading…
Reference in New Issue