mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-23 12:44:12 -08:00
Fixed #8443 - wrong value for array_key_exists on location import
This commit is contained in:
parent
a3e738b283
commit
81548e581d
|
@ -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']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue