From 4f71c31c2fe968a9dd23be2240465268b0e90596 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 31 May 2006 06:09:41 +0000 Subject: [PATCH] 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 --- plugins/personal/environment/class_hotplugDialog.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))){ -- 2.30.2