summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d6cdd7f)
raw | patch | inline | side by side (parent: d6cdd7f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 1 Jul 2008 09:01:03 +0000 (09:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 1 Jul 2008 09:01:03 +0000 (09:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11494 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc
index 06a625f06ac979743b9f281a627320a222277c53..d26a71773bccef1d3643a41fbfdc64a3be1a1809 100644 (file)
$base= $this->fai_base;
/* Check used characters */
- if(!preg_match("/^[0-9a-z \ö\ä\ü\.\-_:,]*$/i",$name)){
- msg_dialog::display(_("Error"), msgPool::invalid(_("Name"),$name,"/[0-9a-z \ö\ä\ü\.\-_:,]/i"), ERROR_DIALOG);
+ if(!preg_match("/^[0-9a-z\.]*$/",$name)){
+ msg_dialog::display(_("Error"), msgPool::invalid(_("Name"),$name,"/[0-9a-z\.]/"), ERROR_DIALOG);
$is_ok = false;
}