Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix decrypt exception.
James Cole8a0ac81fd060
diff --git a/app/Generator/Report/Category/MonthReportGenerator.php b/app/Generator/Report/Category/MonthReportGenerator.phpindex e638b3c6ed..a72eb65f68 100644--- a/app/Generator/Report/Category/MonthReportGenerator.php+++ b/app/Generator/Report/Category/MonthReportGenerator.php@@ -265,14 +265,6 @@ class MonthReportGenerator extends Support implements ReportGeneratorInterface{$transactions = $this->getExpenses()->sortBy('transaction_amount');- $transactions = $transactions->each(- function (Transaction $transaction) {- if (intval($transaction->opposing_account_encrypted) === 1) {- $transaction->opposing_account_name = Crypt::decrypt($transaction->opposing_account_name);- }- }- );-return $transactions;}@@ -283,14 +275,6 @@ class MonthReportGenerator extends Support implements ReportGeneratorInterface{$transactions = $this->getIncome()->sortByDesc('transaction_amount');- $transactions = $transactions->each(- function (Transaction $transaction) {- if (intval($transaction->opposing_account_encrypted) === 1) {- $transaction->opposing_account_name = Crypt::decrypt($transaction->opposing_account_name);- }- }- );-return $transactions;}