From db1a60b6dfc9e3da03b584607104d631869764f9 Mon Sep 17 00:00:00 2001 From: Sander Date: Wed, 7 Dec 2016 07:58:55 +0000 Subject: [PATCH] Fix display bug --- app/Support/Twig/Transaction.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Support/Twig/Transaction.php b/app/Support/Twig/Transaction.php index ef05c214ad..8e1d1284f8 100644 --- a/app/Support/Twig/Transaction.php +++ b/app/Support/Twig/Transaction.php @@ -192,8 +192,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); }