mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix decrypt exception.
This commit is contained in:
parent
a05c8ca351
commit
cdd50dfdd2
@ -148,8 +148,6 @@ class MonthReportGenerator extends Support implements ReportGeneratorInterface
|
|||||||
// is not set?
|
// is not set?
|
||||||
if (!isset($result[$opposingId])) {
|
if (!isset($result[$opposingId])) {
|
||||||
$name = $transaction->opposing_account_name;
|
$name = $transaction->opposing_account_name;
|
||||||
$encrypted = intval($transaction->opposing_account_encrypted);
|
|
||||||
$name = $encrypted === 1 ? Crypt::decrypt($name) : $name;
|
|
||||||
$result[$opposingId] = [
|
$result[$opposingId] = [
|
||||||
'name' => $name,
|
'name' => $name,
|
||||||
'count' => 1,
|
'count' => 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user