diff --git a/app/Console/Commands/ImportLocations.php b/app/Console/Commands/ImportLocations.php index b037b011bf..f36a384c1f 100644 --- a/app/Console/Commands/ImportLocations.php +++ b/app/Console/Commands/ImportLocations.php @@ -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']); }