Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix decryption bug.
James Cole9fcc5e7a678b
diff --git a/app/Support/Twig/Transaction.php b/app/Support/Twig/Transaction.phpindex 8e1d1284f8..dbe41f19b7 100644--- a/app/Support/Twig/Transaction.php+++ b/app/Support/Twig/Transaction.php@@ -266,8 +266,7 @@ class Transaction extends Twig_Extension// name is present in object, use that one:if (bccomp($transaction->transaction_amount, '0') === 1 && !is_null($transaction->opposing_account_id)) {- $name = intval($transaction->opposing_account_encrypted) === 1 ? Crypt::decrypt($transaction->opposing_account_name)- : $transaction->opposing_account_name;+ $name = $transaction->opposing_account_name;$id = intval($transaction->opposing_account_id);$type = intval($transaction->opposing_account_type);}