mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-23 01:16:46 -06:00
Fix #2487
This commit is contained in:
parent
9e4f6abf5d
commit
d050c0269a
@ -58,7 +58,7 @@ class NewFinTSJobHandler implements FinTSConfigurationInterface
|
||||
$config['fints_bank_code'] = (string)($data['fints_bank_code'] ?? '');
|
||||
$config['fints_username'] = (string)($data['fints_username'] ?? '');
|
||||
$config['fints_password'] = (string)(Crypt::encrypt($data['fints_password']) ?? ''); // verified
|
||||
$config['apply-rules'] = 1 === (int)$data['apply_rules'];
|
||||
$config['apply-rules'] = 1 === (int)($data['apply_rules'] ?? 0);
|
||||
|
||||
// sanitize FinTS URL.
|
||||
$config['fints_url'] = $this->validURI($config['fints_url']) ? $config['fints_url'] : '';
|
||||
|
@ -163,6 +163,7 @@ class StageImportDataHandler
|
||||
'transactions' => [
|
||||
// single transaction:
|
||||
[
|
||||
'type' => $type,
|
||||
'description' => null,
|
||||
'amount' => $amount,
|
||||
'currency_id' => null,
|
||||
|
Loading…
Reference in New Issue
Block a user