From: cajus Date: Mon, 17 Oct 2005 11:32:29 +0000 (+0000) Subject: Added underscores to the list of allowed characters X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;ds=sidebyside;h=053f2315897966cb332a02445c554b27b3eadde6;p=gosa.git Added underscores to the list of allowed characters git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1586 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiVariableEntry.inc b/plugins/admin/fai/class_faiVariableEntry.inc index 745baeead..18f635f12 100644 --- a/plugins/admin/fai/class_faiVariableEntry.inc +++ b/plugins/admin/fai/class_faiVariableEntry.inc @@ -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."); }