mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-03 12:10:42 -06:00
Fix #1616
This commit is contained in:
parent
566be8dc63
commit
3ca3ce0726
@ -360,7 +360,8 @@ class MetaPieChart implements MetaPieChartInterface
|
||||
foreach ($array as $objectId => $amount) {
|
||||
if (!isset($names[$objectId])) {
|
||||
$object = $repository->findNull((int)$objectId);
|
||||
$names[$objectId] = $object->name ?? $object->tag;
|
||||
$name = null === $object ? '(no name)' : $object->name;
|
||||
$names[$objectId] = $name ?? $object->tag;
|
||||
}
|
||||
$amount = app('steam')->positive($amount);
|
||||
$this->total = bcadd($this->total, $amount);
|
||||
|
Loading…
Reference in New Issue
Block a user