Commit 4096c99b authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4516 Inventory matching should work even if the system is not at the root of the LDAP tree

parent 630beb81
......@@ -282,7 +282,7 @@ class fiInventory extends simplePlugin
global $config;
$systemTypes = array('server','workstation','terminal','printer','component','winstation','phone','mobilePhone');
$ldap = $config->get_ldap_link();
if ($ldap->count()) {
$attrs = $ldap->fetch();
Markdown is supported
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