mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-02 12:17:22 -06:00
Fix for #2500
This commit is contained in:
parent
57961de214
commit
7720519076
@ -95,7 +95,7 @@ trait TransactionValidation
|
||||
$accountValidator = app(AccountValidator::class);
|
||||
|
||||
foreach ($transactions as $index => $transaction) {
|
||||
$originalType = $this->getOriginalType($transaction['transaction_journal_id'] ?? 0);
|
||||
$originalType = $this->getOriginalType((int)($transaction['transaction_journal_id'] ?? 0));
|
||||
$originalData = $this->getOriginalData($transaction['transaction_journal_id'] ?? 0);
|
||||
$transactionType = $transaction['type'] ?? $originalType;
|
||||
$accountValidator->setTransactionType($transactionType);
|
||||
|
Loading…
Reference in New Issue
Block a user