diff --git a/trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc b/trunk/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc
index 371957ab65f78d926cf01e510d646e5ccd9fb32e..35c5155d57bd1c951cd2a0b1984c28eeefc7ec2b 100644 (file)
$message[]= msgPool::required(_("Type"));
}
- // only 0-9a-z
+ // only 0-9a-z\._äüö
if(!$this->is_edit){
if(empty($this->name)){
$message[]= msgPool::required(_("Name"));
}
- if(!preg_match("/^[a-z0-9\._äüö]*$/ui",$this->name)){
- $message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö]/ui");
+ if(!preg_match("/^[a-z0-9-\._äüö]*$/ui",$this->name)){
+ $message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9-\._äüö]/ui");
}
}