Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fixed a bug where a null transaction would be used anyway.
James Cole1383cbd4d555
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.phpindex ed6eb51257..d7ecedcde8 100644--- a/app/controllers/AccountController.php+++ b/app/controllers/AccountController.php@@ -202,9 +202,10 @@ class AccountController extends BaseControllerif (is_null($transaction)) {$account->lastActionDate = null;+ } else {+ $account->lastActionDate = $transaction->updated_at;}- $account->lastActionDate = $transaction->updated_at;});