summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 10b389c)
raw | patch | inline | side by side (parent: 10b389c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Oct 2007 11:18:06 +0000 (11:18 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Oct 2007 11:18:06 +0000 (11:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7437 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 da5ad0891124c56185ff4f5e6dfa3a9d7e5963a8..2e69647fb518be0db11cd87fc10f598739a1e8c0 100644 (file)
var $HOT_name = "";
var $HOT_description = "";
- var $HOT_id = "";
+ var $HOT_id = "0x0000";
var $HOT_produkt = "";
var $HOT_vendor = "";
$message[]=_("Invalid character in description. Please specify a valid description.");
}
- if((empty($this->HOT_vendor)) || (empty($this->HOT_produkt))){
- if(empty($this->HOT_id) || preg_match("/[\|\*]/i",$this->HOT_id)){
- $message[]=_("Please specify a valid iSerial.");
- }
+ if(empty($this->HOT_id) || preg_match("/[\|\*]/i",$this->HOT_id)){
+ $message[]=_("Please specify a valid iSerial.");
}
if(empty($this->HOT_vendor) || !$this->is_2byteHex($this->HOT_vendor)){
$message[]=_("Please specify a valid vendor ID. (2 byte hex like '0xFFFF')");