Commit c11ece2b authored by Cédric Anne's avatar Cédric Anne Committed by Johan Cwiklinski
Browse files

Fix monitor asset handling in inventory

parent 3a38ec5e
...@@ -151,7 +151,7 @@ class Monitor extends InventoryAsset ...@@ -151,7 +151,7 @@ class Monitor extends InventoryAsset
], ],
'WHERE' => [ 'WHERE' => [
'itemtype' => 'Monitor', 'itemtype' => 'Monitor',
'computers_id' => $this->item->getType(), 'computers_id' => $this->item->getID(),
'entities_id' => $entities_id, 'entities_id' => $entities_id,
'glpi_computers_items.is_dynamic' => 1, 'glpi_computers_items.is_dynamic' => 1,
'glpi_monitors.is_global' => 0 'glpi_monitors.is_global' => 0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment