From 81548e581d70000ec571848686b71b4e180c10cc Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 16 Sep 2020 11:45:47 -0700 Subject: [PATCH] Fixed #8443 - wrong value for array_key_exists on location import --- app/Console/Commands/ImportLocations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); }