Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #2773
James Coleca37d782ed60
diff --git a/.travis.yml b/.travis.ymlindex c6f9b990ef..62b920cf77 100644--- a/.travis.yml+++ b/.travis.yml@@ -1,7 +1,7 @@sudo: requiredlanguage: bashenv:- - VERSION=4.8.1.7+ - VERSION=4.8.1.8dist: xenialdiff --git a/app/Factory/TransactionGroupFactory.php b/app/Factory/TransactionGroupFactory.phpindex bb69039030..3fa3163358 100644--- a/app/Factory/TransactionGroupFactory.php+++ b/app/Factory/TransactionGroupFactory.php@@ -58,7 +58,7 @@ class TransactionGroupFactorypublic function create(array $data): TransactionGroup{$this->journalFactory->setUser($this->user);- $this->journalFactory->setErrorOnHash($data['error_if_duplicate_hash']);+ $this->journalFactory->setErrorOnHash($data['error_if_duplicate_hash'] ?? false);$collection = $this->journalFactory->create($data);$title = $data['group_title'] ?? null;diff --git a/changelog.md b/changelog.mdindex e29549f1e0..3537dbd4e6 100644--- a/changelog.md+++ b/changelog.md@@ -2,6 +2,12 @@All notable changes to this project will be documented in this file.This project adheres to [Semantic Versioning](http://semver.org/).++## [4.8.1.8 (API 0.10.5)] - 2019-10-26++### Fixed+- [Issue 2773](https://github.com/firefly-iii/firefly-iii/issues/2773) Error when importing transactions.+## [4.8.1.7 (API 0.10.5)] - 2019-10-26### Fixeddiff --git a/config/firefly.php b/config/firefly.phpindex d838f8d7cb..f0539ed78a 100644--- a/config/firefly.php+++ b/config/firefly.php@@ -125,7 +125,7 @@ return ['is_demo_site' => false,],'encryption' => null === env('USE_ENCRYPTION') || env('USE_ENCRYPTION') === true,- 'version' => '4.8.1.7',+ 'version' => '4.8.1.8','api_version' => '0.10.5','db_version' => 11,'maxUploadSize' => 15242880,