Skip to content

Commit 526a7dd

Browse files
authored
Merge pull request #17337 from grokability/fixes-#17112-ldap-location-set-to-0
Fixed #17112 - Set location ID to null instead of 0
2 parents bb5ad31 + 549da2e commit 526a7dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Console/Commands/LdapSync.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public function handle()
182182
// Inject location information fields
183183
for ($i = 0; $i < $results['count']; $i++) {
184184
$results[$i]['ldap_location_override'] = false;
185-
$results[$i]['location_id'] = 0;
185+
$results[$i]['location_id'] = null;
186186
}
187187

188188
// Grab subsets based on location-specific DNs, and overwrite location for these users.

0 commit comments

Comments
 (0)