mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Optimized decryption.
This commit is contained in:
@@ -270,12 +270,6 @@ class ReportController extends Controller
|
||||
$categories = Steam::makeArray($result);
|
||||
|
||||
|
||||
// loop and decrypt if necessary:
|
||||
foreach ($categories as $index => $category) {
|
||||
$categories[$index]['name']
|
||||
= intval($categories[$index]['encrypted']) == 1 ? Crypt::decrypt($categories[$index]['name']) : $categories[$index]['name'];
|
||||
}
|
||||
|
||||
// all transfers
|
||||
if ($showSharedReports === false) {
|
||||
$result = $this->query->sharedExpensesByCategory($start, $end);
|
||||
|
Reference in New Issue
Block a user