summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 89bd74c)
raw | patch | inline | side by side (parent: 89bd74c)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 1 Jun 2007 12:31:27 +0000 (12:31 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 1 Jun 2007 12:31:27 +0000 (12:31 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6518 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/environment/class_environment.inc | patch | blob | history |
diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc
index 3547ccee30c0b85aedba4a84cb223a8bcea3b557..455b3b588d730bc71e70766ae273c7a9956c37e2 100644 (file)
/* Prepare HotPlug devices */
$this->attrs['gotoHotplugDevice'] = array();
foreach($this->gotoHotplugDevices as $name => $device){
- $this->attrs['gotoHotplugDevice'][] = $device['name']."|".$device['description']."|".$device['id']."|".$device['produkt']."|".$device['vendor'];
+ $tmp= $device['name']."|".$device['description']."|".$device['id'];
+ if (isset($device['produkt']) && isset($device['vendor'])){
+ $tmp.= "|".$device['produkt']."|".$device['vendor'];
+ }
+ $this->attrs['gotoHotplugDevice'][]= $tmp;
}
/* Prepare LogonScripts */