A free open source IT asset/license management system
Fixed #8443 - wrong value for array_key_exists on location import
snipe81548e581d70
diff --git a/app/Console/Commands/ImportLocations.php b/app/Console/Commands/ImportLocations.phpindex b037b011bf..f36a384c1f 100644--- a/app/Console/Commands/ImportLocations.php+++ b/app/Console/Commands/ImportLocations.php@@ -120,7 +120,7 @@ class ImportLocations extends Commandif (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']);}