From e066a6421c31f7c6ec4d0386d8e82da3051a5940 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 11 Feb 2018 15:36:16 +0100 Subject: [PATCH] Fix #1172 --- app/Support/Import/Configuration/File/UploadConfig.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Support/Import/Configuration/File/UploadConfig.php b/app/Support/Import/Configuration/File/UploadConfig.php index 5eeda520d8..9dd8309554 100644 --- a/app/Support/Import/Configuration/File/UploadConfig.php +++ b/app/Support/Import/Configuration/File/UploadConfig.php @@ -121,7 +121,7 @@ class UploadConfig implements ConfigurationInterface // set "headers": $config['has-headers'] = intval($data['has_headers'] ?? 0) === 1; $config['date-format'] = strval($data['date_format']); - $config['delimiter'] = 'tab' === $delimiter ? "\t" : $config['delimiter']; + $config['delimiter'] = 'tab' === $delimiter ? "\t" : $delimiter; $config['apply-rules'] = intval($data['apply_rules'] ?? 0) === 1; $config['match-bills'] = intval($data['match_bills'] ?? 0) === 1; @@ -136,7 +136,6 @@ class UploadConfig implements ConfigurationInterface if (null === $account->id) { Log::error('Could not find anything for csv_import_account.', ['id' => $importId]); } - $config = $this->storeSpecifics($data, $config); Log::debug('Final config is ', $config);