Fix some errors found in debug logs.

This commit is contained in:
James Cole
2018-07-27 03:09:35 +02:00
parent d6298d9f05
commit 2ad8e7f343
5 changed files with 10 additions and 10 deletions

View File

@@ -359,7 +359,7 @@ class MetaPieChart implements MetaPieChartInterface
$repository->setUser($this->user);
foreach ($array as $objectId => $amount) {
if (!isset($names[$objectId])) {
$object = $repository->find((int)$objectId);
$object = $repository->findNull((int)$objectId);
$names[$objectId] = $object->name ?? $object->tag;
}
$amount = app('steam')->positive($amount);