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

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 = [];
/*