mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 17:33:45 +00:00
Various code cleanup
This commit is contained in:
@@ -185,6 +185,7 @@ class ExpenseReportController extends Controller
|
||||
// remove all empty entries to prevent cluttering:
|
||||
$newSet = [];
|
||||
foreach ($chartData as $key => $entry) {
|
||||
// TODO not sure, this is a bad comparison.
|
||||
if (0 === !array_sum($entry['entries'])) {
|
||||
$newSet[$key] = $entry;
|
||||
}
|
||||
|
Reference in New Issue
Block a user