mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 09:51:40 +00:00
Fixed a bug where a null transaction would be used anyway.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user