mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #1538
This commit is contained in:
parent
d05a1e0260
commit
fc80f828be
@ -86,7 +86,7 @@ class ChooseAccountsHandler implements SpectreJobConfigurationInterface
|
||||
$config = $this->importJob->configuration;
|
||||
$mapping = $data['account_mapping'] ?? [];
|
||||
$final = [];
|
||||
$applyRules = (int)$data['apply_rules'] === 1;
|
||||
$applyRules = 1 === (int)($data['apply_rules'] ?? 0);
|
||||
foreach ($mapping as $spectreId => $localId) {
|
||||
// validate each
|
||||
$spectreId = $this->validSpectreAccount((int)$spectreId);
|
||||
|
Loading…
Reference in New Issue
Block a user