summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ba87ac0)
raw | patch | inline | side by side (parent: ba87ac0)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Oct 2009 06:32:08 +0000 (06:32 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Oct 2009 06:32:08 +0000 (06:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14455 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 07ca37b97f41f6d510f7422082fc60bd20b92977..79f3c101a5b111f7fc17868ef772eb0e1b2b9d34 100644 (file)
if(!preg_match("/^[a-z0-9\._äüö\$]*$/ui",$this->name)){
$message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö]\$/ui");
} else {
- if (!preg_match("/^[^\$]+\$$/", $this->name)) {
+ if (!preg_match("/^[^\$]+[\$]*\$$/", $this->name)) {
$message[] = _("Hidden shares must have a '$' at the end of the name!");
}
}