summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e3e8bf3)
raw | patch | inline | side by side (parent: e3e8bf3)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 31 May 2006 06:09:41 +0000 (06:09 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 31 May 2006 06:09:41 +0000 (06:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3573 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/environment/class_hotplugDialog.inc | patch | blob | history |
diff --git a/plugins/personal/environment/class_hotplugDialog.inc b/plugins/personal/environment/class_hotplugDialog.inc
index a965e3c645989da54494d82fe8468cc57ec2dd2c..a314c785071e2ea8008f82087c7738e8af2f0a32 100644 (file)
$message= plugin::check();
if(!$this->use_existing){
- if((empty($this->HOT_name))||(preg_match("/[^a-z0-9 ]/i",$this->HOT_name))){
+ if((empty($this->HOT_name))||(preg_match("/[^a-z0-9]/i",$this->HOT_name))){
$message[]=_("Please specify a valid name. Only 0-9 a-Z is allowed.");
}
if((empty($this->HOT_description))||(preg_match("/[^a-z0-9!\"?.,;:-_\(\) ]/i",$this->HOT_description))){