mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +00: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:
@@ -79,7 +79,7 @@ class ChooseAccountsHandler implements BunqJobConfigurationInterface
|
|||||||
$config = $this->repository->getConfiguration($this->importJob);
|
$config = $this->repository->getConfiguration($this->importJob);
|
||||||
$accounts = $config['accounts'] ?? [];
|
$accounts = $config['accounts'] ?? [];
|
||||||
$mapping = $data['account_mapping'] ?? [];
|
$mapping = $data['account_mapping'] ?? [];
|
||||||
$applyRules = 1 === (int)$data['apply_rules'];
|
$applyRules = 1 === (int)($data['apply_rules'] ?? 0);
|
||||||
$final = [];
|
$final = [];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user