WTF ? hop, rien à faire là

This commit is contained in:
Alan Garcia 2013-01-24 09:14:12 +00:00
parent 479c715e72
commit b68cf4d0c5
1 changed files with 0 additions and 1 deletions

View File

@ -162,7 +162,6 @@ class m_dom {
function domains_type_update($name, $description, $target, $entry, $compatibility, $enable, $only_dns, $need_dns,$advanced,$create_tmpdir,$create_targetdir) {
global $err,$cuid,$db;
$id=intval($id);
// The name MUST contain only letter and digits, it's an identifier after all ...
if (!preg_match("#^[a-z0-9]+$#",$name)) {
$err->raise("dom", _("The name MUST contain only letter and digits"));