mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Decrypt object names. [skip ci]
This commit is contained in:
@@ -385,6 +385,9 @@ class ExpenseController extends Controller
|
|||||||
$budgetName = $transaction->transaction_journal_budget_name;
|
$budgetName = $transaction->transaction_journal_budget_name;
|
||||||
$budgetId = intval($transaction->transaction_journal_budget_id);
|
$budgetId = intval($transaction->transaction_journal_budget_id);
|
||||||
}
|
}
|
||||||
|
if ($budgetId !== 0) {
|
||||||
|
$budgetName = app('steam')->tryDecrypt($budgetName);
|
||||||
|
}
|
||||||
|
|
||||||
// if not set, set to zero:
|
// if not set, set to zero:
|
||||||
if (!isset($sum[$budgetId][$currencyId])) {
|
if (!isset($sum[$budgetId][$currencyId])) {
|
||||||
@@ -434,6 +437,9 @@ class ExpenseController extends Controller
|
|||||||
$categoryName = $transaction->transaction_journal_category_name;
|
$categoryName = $transaction->transaction_journal_category_name;
|
||||||
$categoryId = intval($transaction->transaction_journal_category_id);
|
$categoryId = intval($transaction->transaction_journal_category_id);
|
||||||
}
|
}
|
||||||
|
if ($categoryId !== 0) {
|
||||||
|
$categoryName = app('steam')->tryDecrypt($categoryName);
|
||||||
|
}
|
||||||
|
|
||||||
// if not set, set to zero:
|
// if not set, set to zero:
|
||||||
if (!isset($sum[$categoryId][$currencyId])) {
|
if (!isset($sum[$categoryId][$currencyId])) {
|
||||||
|
Reference in New Issue
Block a user