Skip to content

Commit 8ebb29c

Browse files
author
David Durieux
committed
Fix software rule
1 parent b229268 commit 8ebb29c

File tree

2 files changed

+2
-104
lines changed

2 files changed

+2
-104
lines changed

fusioninventory/inc/formatconvert.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,8 @@ function computerSoftwareTransformation($a_inventory, $entities_id) {
10341034
$array_tmp['version'] = $res_rule["version"];
10351035
}
10361036
if (isset($res_rule["manufacturer"])) {
1037-
$array_tmp['manufacturers_id'] = $res_rule["manufacturer"];
1037+
$array_tmp['manufacturers_id'] = Dropdown::import("Manufacturer",
1038+
$res_rule["manufacturer"]);
10381039
} else if ($array_tmp['manufacturers_id'] != ''
10391040
&& $array_tmp['manufacturers_id'] != '0') {
10401041
if (!isset($this->manufacturer_cache[$array_tmp['manufacturers_id']])) {

fusioninventory/report/switch_ports.history.php

Lines changed: 0 additions & 103 deletions
This file was deleted.

0 commit comments

Comments
 (0)