summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 86a2a00)
raw | patch | inline | side by side (parent: 86a2a00)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Feb 2010 08:50:18 +0000 (08:50 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Feb 2010 08:50:18 +0000 (08:50 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15607 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc b/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc
index e8203e52bbcb48ff8750fc2e89d7f25bb8a9c897..14bd2677e4a58c0ff4d1bfee7197d2bde1240f63 100644 (file)
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");
}
}