Code

Fixed iSerial - again
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 Oct 2007 08:58:17 +0000 (08:58 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 Oct 2007 08:58:17 +0000 (08:58 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7596 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_hotplugDialog.inc

index 8351742ba42f47ccae880e3c208c262f50b43b23..fc35f33883369267481de9794e73e0b64ee93885 100644 (file)
@@ -126,7 +126,7 @@ class hotplugDialog extends plugin
       }
 
       /* Skip serial check if vendor and product id are given */
-      if(!preg_match("/^\s*$/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)){