From 053f2315897966cb332a02445c554b27b3eadde6 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 17 Oct 2005 11:32:29 +0000 Subject: [PATCH] Added underscores to the list of allowed characters git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1586 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiVariableEntry.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); } -- 2.30.2