Code

Fixed error message in groups
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 13 Oct 2010 09:04:03 +0000 (09:04 +0000)
committerhickert <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

gosa-core/plugins/admin/groups/class_group.inc

index 327ccef38d5c095687cc258804c561a8dd4f9e4f..6fb72ccb3bd870434973dda8e55e76fd20a4ac8b 100644 (file)
@@ -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");
             }
         }