Merge pull request #1708 from mathieupost/patch-1

Fix bunq import "Undefined index: apply_rules"
This commit is contained in:
James Cole 2018-09-22 14:01:10 +02:00 committed by GitHub
commit 069015c9b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,7 @@ class ChooseAccountsHandler implements BunqJobConfigurationInterface
$config = $this->repository->getConfiguration($this->importJob);
$accounts = $config['accounts'] ?? [];
$mapping = $data['account_mapping'] ?? [];
$applyRules = 1 === (int)$data['apply_rules'];
$applyRules = 1 === (int)($data['apply_rules'] ?? 0);
$final = [];
/*