From 4e22fce8083f7b1af9df2ed7f56324ff319cfee3 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 18 Oct 2007 14:37:48 +0000 Subject: [PATCH] Fixe id detection git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7593 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 fa3ea5398..8351742ba 100644 --- a/plugins/personal/environment/class_hotplugDialog.inc +++ b/plugins/personal/environment/class_hotplugDialog.inc @@ -126,7 +126,7 @@ class hotplugDialog extends plugin } /* Skip serial check if vendor and product id are given */ - if(!preg_match("/^[a-z0-9]+$/i",$this->HOT_id)){ + if(!preg_match("/^\s*$/i",$this->HOT_id)){ $message[]=_("Please specify a valid iSerial."); } if(empty($this->HOT_vendor) || !$this->is_2byteHex($this->HOT_vendor)){ -- 2.30.2