Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Make sure cache is cleared after transaction deletion.
James Cole395b6ecb7651
diff --git a/app/Http/Controllers/Transaction/DeleteController.php b/app/Http/Controllers/Transaction/DeleteController.phpindex b023d78317..a540dcd2e9 100644--- a/app/Http/Controllers/Transaction/DeleteController.php+++ b/app/Http/Controllers/Transaction/DeleteController.php@@ -137,6 +137,7 @@ class DeleteController extends ControllerLog::debug(sprintf('Now going to trigger updated account event for account #%d', $account->id));event(new UpdatedAccount($account));}+ app('preferences')->mark();return redirect($this->getPreviousUrl('transactions.delete.url'));