From: cajus Date: Fri, 19 Oct 2007 08:58:17 +0000 (+0000) Subject: Fixed iSerial - again X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0e695973215c4e6af2adc61e985953ca783beaae;p=gosa.git Fixed iSerial - again git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7596 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_hotplugDialog.inc b/plugins/personal/environment/class_hotplugDialog.inc index 8351742ba..fc35f3388 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("/^\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)){