mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-28 03:34:32 -06:00
Fix bunq import "Undefined index: apply_rules"
When using the bunq import and unchecking "apply rules" gave an error. Same as https://github.com/firefly-iii/firefly-iii/issues/1538
This commit is contained in:
parent
ec072cee23
commit
0556433ce4
@ -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 = [];
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user