Code

Added underscores to the list of allowed characters
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Oct 2005 11:32:29 +0000 (11:32 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Oct 2005 11:32:29 +0000 (11:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1586 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiVariableEntry.inc

index 745baeeadb255ebcc5a114a411977cad0f46276d..18f635f129a75534f3d717dae1bc9c0a3cabc97c 100644 (file)
@@ -83,7 +83,7 @@ class faiVariableEntry extends plugin
       $message[] = _("Please enter a name.");
     }
 
-    if(preg_match("/[^0-9a-z]/i",$this->Object_cn)){
+    if(preg_match("/[^0-9a-z_]/i",$this->Object_cn)){
       $message[] = _("Please enter a valid name. Only a-Z 0-9 are allowed.");
     }