mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 02:26:58 +00:00
This should fix the tests
This commit is contained in:
@@ -261,7 +261,6 @@ class MetaPieChart implements MetaPieChartInterface
|
|||||||
$chartData = [];
|
$chartData = [];
|
||||||
$names = [];
|
$names = [];
|
||||||
$repository = app($this->repositories[$type]);
|
$repository = app($this->repositories[$type]);
|
||||||
$repository->setUser($this->user);
|
|
||||||
foreach ($array as $objectId => $amount) {
|
foreach ($array as $objectId => $amount) {
|
||||||
if (!isset($names[$objectId])) {
|
if (!isset($names[$objectId])) {
|
||||||
$object = $repository->find(intval($objectId));
|
$object = $repository->find(intval($objectId));
|
||||||
|
Reference in New Issue
Block a user