diff --git a/app/Support/Twig/Transaction.php b/app/Support/Twig/Transaction.php index 70abfc30d4..648e4caabe 100644 --- a/app/Support/Twig/Transaction.php +++ b/app/Support/Twig/Transaction.php @@ -204,7 +204,7 @@ class Transaction extends Twig_Extension $name = $transaction->opposing_account_name; $id = intval($transaction->opposing_account_id); - $type = intval($transaction->opposing_account_type); + $type = $transaction->opposing_account_type; } // Find the opposing account and use that one: @@ -278,7 +278,7 @@ class Transaction extends Twig_Extension $name = $transaction->opposing_account_name; $id = intval($transaction->opposing_account_id); - $type = intval($transaction->opposing_account_type); + $type = $transaction->opposing_account_type; } // Find the opposing account and use that one: if (bccomp($transaction->transaction_amount, '0') === 1 && is_null($transaction->opposing_account_id)) {