Skip to content

A free open source IT asset/license management system

Fixed address field

snipe4a6520fc78a2
diff --git a/app/Console/Commands/LdapSync.php b/app/Console/Commands/LdapSync.php
index 7ad4648702..381ae900d9 100644
--- a/app/Console/Commands/LdapSync.php
+++ b/app/Console/Commands/LdapSync.php
@@ -256,7 +256,7 @@ class LdapSync extends Command
$item['telephone'] = $results[$i][$ldap_map["phone"]][0] ?? '';
$item['mobile'] = $results[$i][$ldap_map["mobile"]][0] ?? '';
$item['jobtitle'] = $results[$i][$ldap_map["jobtitle"]][0] ?? '';
- $item['address'] = $results[$i][$ldap_map["ldap_address"]][0] ?? '';
+ $item['address'] = $results[$i][$ldap_map["address"]][0] ?? '';
$item['city'] = $results[$i][$ldap_map["city"]][0] ?? '';
$item['state'] = $results[$i][$ldap_map["state"]][0] ?? '';
$item['country'] = $results[$i][$ldap_map["country"]][0] ?? '';