Skip to content

Firefly III: a personal finances manager

Fix #987

James Coleb6514c7e54b2
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;
}