mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-16 18:25:00 -06:00
Fixed a bug where a null transaction would be used anyway.
This commit is contained in:
parent
e9b7e82aea
commit
1383cbd4d5
@ -202,9 +202,10 @@ class AccountController extends BaseController
|
||||
|
||||
if (is_null($transaction)) {
|
||||
$account->lastActionDate = null;
|
||||
} else {
|
||||
$account->lastActionDate = $transaction->updated_at;
|
||||
}
|
||||
|
||||
$account->lastActionDate = $transaction->updated_at;
|
||||
}
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user