Fixed #8443 - wrong value for array_key_exists on location import

This commit is contained in:
snipe 2020-09-16 11:45:47 -07:00
parent a3e738b283
commit 81548e581d

View file

@ -120,7 +120,7 @@ class ImportLocations extends Command
if (array_key_exists('Country', $row)) {
$location->country = trim($row['Country']);
}
if (array_key_exists('Country', $row)) {
if (array_key_exists('OU', $row)) {
$location->ldap_ou = trim($row['OU']);
}