mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
A temporary fix for the problem that storing a transaction journal doesn't return the actual journal when successful.
This commit is contained in:
@@ -106,7 +106,8 @@ class EloquentTransactionJournalRepository implements TransactionJournalReposito
|
||||
'what' => 'transfer',
|
||||
'return_journal' => true
|
||||
];
|
||||
$journal = $transactions->store($set);
|
||||
$returnSet = $transactions->store($set);
|
||||
$journal = $returnSet['journal'];
|
||||
|
||||
/*
|
||||
* Validate the store action:
|
||||
@@ -333,7 +334,8 @@ class EloquentTransactionJournalRepository implements TransactionJournalReposito
|
||||
/*
|
||||
* Import it:
|
||||
*/
|
||||
$journal = $transactions->store($set);
|
||||
$returnSet = $transactions->store($set);
|
||||
$journal = $returnSet['journal'];
|
||||
|
||||
/*
|
||||
* Validate the store action:
|
||||
|
Reference in New Issue
Block a user