Code

idProduct- and idVendor-Inputfield should be caseinsensitive.
authorlhm-gosa <lhm-gosa@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 9 Sep 2009 13:04:52 +0000 (13:04 +0000)
committerlhm-gosa <lhm-gosa@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 9 Sep 2009 13:04:52 +0000 (13:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@14221 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc

index ecd1c3c1018357b8808a2666db077dd9aaccf8be..00d63d0be6b084e48148f3002aed6cd8ff95dc57 100644 (file)
@@ -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);
   }