From: cajus Date: Wed, 31 May 2006 06:09:41 +0000 (+0000) Subject: Removed ability to store spaces in the USB stick names X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4f71c31c2fe968a9dd23be2240465268b0e90596;p=gosa.git Removed ability to store spaces in the USB stick names git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3573 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_hotplugDialog.inc b/plugins/personal/environment/class_hotplugDialog.inc index a965e3c64..a314c7850 100644 --- a/plugins/personal/environment/class_hotplugDialog.inc +++ b/plugins/personal/environment/class_hotplugDialog.inc @@ -109,7 +109,7 @@ class hotplugDialog extends plugin $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))){