From 71bc149e7e6164a3d0fb59d9037b313e294704e2 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 13 Oct 2010 09:04:03 +0000 Subject: [PATCH] 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 --- gosa-core/plugins/admin/groups/class_group.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } } -- 2.30.2