mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Fix various API 500 errors.
This commit is contained in:
@@ -90,7 +90,7 @@ trait ChartGeneration
|
||||
$balance = $range[$format] ?? $previous;
|
||||
$previous = $balance;
|
||||
$currentStart->addDay();
|
||||
$currentSet['entries'][$label] = $balance[$field];
|
||||
$currentSet['entries'][$label] = $balance[$field] ?? '0';
|
||||
}
|
||||
$chartData[] = $currentSet;
|
||||
}
|
||||
|
Reference in New Issue
Block a user