mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 15:39:50 +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)) {
|
if (is_null($transaction)) {
|
||||||
$account->lastActionDate = null;
|
$account->lastActionDate = null;
|
||||||
|
} else {
|
||||||
|
$account->lastActionDate = $transaction->updated_at;
|
||||||
}
|
}
|
||||||
|
|
||||||
$account->lastActionDate = $transaction->updated_at;
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user