Skip to content

Commit

Permalink
Make sure date range is updated. firefly-iii/firefly-iii#5980
Browse files Browse the repository at this point in the history
  • Loading branch information
JC5 committed Apr 14, 2022
1 parent 1017fe9 commit 497ec7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/Import/UploadController.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ private function processConfigFile(MessageBag $errors, UploadedFile|null $file):
}
// if conversion of the config file was a success, store the new version again:
if (true === $success) {
$configuration->updateDateRange();
$configFileName = StorageService::storeContent(json_encode($configuration->toArray(), JSON_PRETTY_PRINT));
session()->put(Constants::UPLOAD_CONFIG_FILE, $configFileName);
}
Expand Down

0 comments on commit 497ec7f

Please sign in to comment.