This commit is contained in:
salam committed 2026-08-29 12:45:37 +02:00
1 parent ef8ade1814
commit 8f6beac89b
4 files changed
+14 -19

No files matched your search

@@ -56,7 +56,7 @@ class LoadPlayerPerformance
$tmp = [];
foreach ($matches_played as $value) {
$val = $value->playerrating_value;
$key = round($value->event->starttime->diffInDays(Carbon::now()));
$key = $value->event ? round($value->event->starttime->diffInDays(Carbon::now())) : 0;
$tmp["$key"] = $val;
}