WTF ? hop, rien à faire là
This commit is contained in:
parent
479c715e72
commit
b68cf4d0c5
|
@ -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) {
|
function domains_type_update($name, $description, $target, $entry, $compatibility, $enable, $only_dns, $need_dns,$advanced,$create_tmpdir,$create_targetdir) {
|
||||||
global $err,$cuid,$db;
|
global $err,$cuid,$db;
|
||||||
$id=intval($id);
|
|
||||||
// The name MUST contain only letter and digits, it's an identifier after all ...
|
// The name MUST contain only letter and digits, it's an identifier after all ...
|
||||||
if (!preg_match("#^[a-z0-9]+$#",$name)) {
|
if (!preg_match("#^[a-z0-9]+$#",$name)) {
|
||||||
$err->raise("dom", _("The name MUST contain only letter and digits"));
|
$err->raise("dom", _("The name MUST contain only letter and digits"));
|
||||||
|
|
Loading…
Reference in New Issue