wip
This commit is contained in:
1 parent
cacc5b4047
commit
ef8ade1814
2 files changed
+4
-2
No files matched your search
@@ -42,6 +42,10 @@ class LoadEvents
|
||||
$total_range = [];
|
||||
$match = StatisticFixtures::with('home')->with('away')->where('id', (int) $match_id)->first();
|
||||
|
||||
if (! $match) {
|
||||
return [];
|
||||
}
|
||||
|
||||
if ($similar_past_matches != 'none') {
|
||||
|
||||
$team_position = '';
|
||||
|
||||
@@ -128,8 +128,6 @@ class LoadEventsQuery
|
||||
->orderBy('starttime', 'ASC')
|
||||
->get();
|
||||
|
||||
// dd($res);
|
||||
|
||||
$arr = [];
|
||||
foreach ($res as $value) {
|
||||
$tmp = [];
|
||||
|
||||
Reference in new issue
Block a user