summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c7c7905)
raw | patch | inline | side by side (parent: c7c7905)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 13 Oct 2010 09:04:03 +0000 (09:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 13 Oct 2010 09:04:03 +0000 (09:04 +0000) |
-If strictNamingRules are disabled, then display a correct error message about the allowed characters
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20019 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20019 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/groups/class_group.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/groups/class_group.inc b/gosa-core/plugins/admin/groups/class_group.inc
index 327ccef38d5c095687cc258804c561a8dd4f9e4f..6fb72ccb3bd870434973dda8e55e76fd20a4ac8b 100644 (file)
if (strict_uid_mode()){
$message[]= msgPool::invalid(_("Name"), $this->cn, "/[a-z0-9_-]/");
} else {
- $message[]= msgPool::invalid(_("Name"), $this->cn, "/[a-z0-9_-]/i");
+ $message[]= msgPool::invalid(_("Name"), $this->cn, "/[a-z0-9 _.-]/i");
}
}