From: hickert Date: Wed, 13 Oct 2010 09:04:03 +0000 (+0000) Subject: Fixed error message in groups X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=71bc149e7e6164a3d0fb59d9037b313e294704e2;p=gosa.git Fixed error message in groups -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 --- diff --git a/gosa-core/plugins/admin/groups/class_group.inc b/gosa-core/plugins/admin/groups/class_group.inc index 327ccef38..6fb72ccb3 100644 --- a/gosa-core/plugins/admin/groups/class_group.inc +++ b/gosa-core/plugins/admin/groups/class_group.inc @@ -916,7 +916,7 @@ class group extends plugin 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"); } }