mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Fix #2487
This commit is contained in:
@@ -58,7 +58,7 @@ class NewFinTSJobHandler implements FinTSConfigurationInterface
|
|||||||
$config['fints_bank_code'] = (string)($data['fints_bank_code'] ?? '');
|
$config['fints_bank_code'] = (string)($data['fints_bank_code'] ?? '');
|
||||||
$config['fints_username'] = (string)($data['fints_username'] ?? '');
|
$config['fints_username'] = (string)($data['fints_username'] ?? '');
|
||||||
$config['fints_password'] = (string)(Crypt::encrypt($data['fints_password']) ?? ''); // verified
|
$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.
|
// sanitize FinTS URL.
|
||||||
$config['fints_url'] = $this->validURI($config['fints_url']) ? $config['fints_url'] : '';
|
$config['fints_url'] = $this->validURI($config['fints_url']) ? $config['fints_url'] : '';
|
||||||
|
@@ -163,6 +163,7 @@ class StageImportDataHandler
|
|||||||
'transactions' => [
|
'transactions' => [
|
||||||
// single transaction:
|
// single transaction:
|
||||||
[
|
[
|
||||||
|
'type' => $type,
|
||||||
'description' => null,
|
'description' => null,
|
||||||
'amount' => $amount,
|
'amount' => $amount,
|
||||||
'currency_id' => null,
|
'currency_id' => null,
|
||||||
|
Reference in New Issue
Block a user