A free open source IT asset/license management system
Small LDDAP sync fix
snipe7b378651f6c8
diff --git a/app/Console/Commands/LdapSync.php b/app/Console/Commands/LdapSync.phpindex 9e719b4a68..027a941314 100644--- a/app/Console/Commands/LdapSync.php+++ b/app/Console/Commands/LdapSync.php@@ -221,10 +221,9 @@ class LdapSync extends Command}}}-- $global_count = $results['count'];+$results = array_merge($location_users, $results);- $results['count'] = $global_count;+ $results['count'] = count(array_filter(array_keys($results), 'is_int'));}}