A free open source IT asset/license management system
If fields were already mapped, they would cause a 500 on re-mapping on import
Brady Wetherington037489a6c01b
diff --git a/app/Http/Livewire/ImporterFile.php b/app/Http/Livewire/ImporterFile.phpindex 81d9c901f5..e67f37f499 100644--- a/app/Http/Livewire/ImporterFile.php+++ b/app/Http/Livewire/ImporterFile.php@@ -152,7 +152,7 @@ class ImporterFile extends Componentif (array_key_exists($i, $this->field_map)) {// yes, we do. Is it valid for this type of import?// (e.g. the import type might have been changed...?)- if (array_key_exists($this->field_map[$i], $this->columnOptions[$value])) {+ if (array_key_exists($this->field_map[$i], $this->columnOptions[$new_import_type])) {//yes, this key *is* valid. Continue on to the next field.continue;} else {