mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 15:18:05 +00:00
Touch journals so issue #1036 is fixed.
This commit is contained in:
@@ -104,6 +104,7 @@ class SetSourceAccount implements ActionInterface
|
||||
$transaction = $journal->transactions()->where('amount', '<', 0)->first();
|
||||
$transaction->account_id = $this->newSourceAccount->id;
|
||||
$transaction->save();
|
||||
$journal->touch();
|
||||
Log::debug(sprintf('Updated transaction #%d and gave it new account ID.', $transaction->id));
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user