summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 31ee8c0)
raw | patch | inline | side by side (parent: 31ee8c0)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Oct 2007 07:21:29 +0000 (07:21 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Oct 2007 07:21:29 +0000 (07:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7529 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 31d5abddb1d0dbd08899e2bcf18b217557ef1c84..fa3ea53988faeae3ec17ec3fbc754bb0feb2ff74 100644 (file)
}
/* Skip serial check if vendor and product id are given */
- if(empty($this->HOT_id) || preg_match("/[\|\*]/i",$this->HOT_id)){
+ if(!preg_match("/^[a-z0-9]+$/i",$this->HOT_id)){
$message[]=_("Please specify a valid iSerial.");
}
if(empty($this->HOT_vendor) || !$this->is_2byteHex($this->HOT_vendor)){