From: lhm-gosa Date: Wed, 9 Sep 2009 13:04:52 +0000 (+0000) Subject: idProduct- and idVendor-Inputfield should be caseinsensitive. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=060882dd78c02b36588cc4182f1de2f66afd05fc;p=gosa.git idProduct- and idVendor-Inputfield should be caseinsensitive. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@14221 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/trunk/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc b/trunk/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc index ecd1c3c10..00d63d0be 100644 --- a/trunk/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc +++ b/trunk/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc @@ -201,7 +201,7 @@ class deviceGeneric extends plugin /* check if given str in like this 0xffff*/ function is_2byteHex($str) { - return !strlen($str) || preg_match("/^(0x|)[a-f0-9]{4}$/i",$str); + return !strlen($str) || preg_match("/^(0x|)[A-Fa-f0-9]{4}$/i",$str); }