From b6514c7e54b23d1ba1f795b8e7d00282c770d97a Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 8 Nov 2017 08:28:04 +0100 Subject: [PATCH] Fix #987 --- app/Support/Twig/Extension/Transaction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Support/Twig/Extension/Transaction.php b/app/Support/Twig/Extension/Transaction.php index 4efb1fb73b..41bdd9ff01 100644 --- a/app/Support/Twig/Extension/Transaction.php +++ b/app/Support/Twig/Extension/Transaction.php @@ -492,7 +492,7 @@ class Transaction extends Twig_Extension ->leftJoin('accounts', 'accounts.id', '=', 'transactions.account_id') ->leftJoin('account_types', 'account_types.id', '=', 'accounts.account_type_id') ->first(['transactions.account_id', 'accounts.encrypted', 'accounts.name', 'account_types.type']); - $name = app('steam')->tryDecrypt(intval($other->encrypted), $other->name); + $name = app('steam')->tryDecrypt($other->name); $transactionId = $other->account_id; $type = $other->type; }