mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 10:53:37 +00:00
Fix #7389
This commit is contained in:
@@ -122,7 +122,7 @@ class ChartJsGenerator implements GeneratorInterface
|
|||||||
|
|
||||||
foreach ($data as $set) {
|
foreach ($data as $set) {
|
||||||
$currentSet = [
|
$currentSet = [
|
||||||
'label' => $set['label'],
|
'label' => $set['label'] ?? '(no label)',
|
||||||
'type' => $set['type'] ?? 'line',
|
'type' => $set['type'] ?? 'line',
|
||||||
'data' => array_values($set['entries']),
|
'data' => array_values($set['entries']),
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user