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 = [];
|
$total_range = [];
|
||||||
$match = StatisticFixtures::with('home')->with('away')->where('id', (int) $match_id)->first();
|
$match = StatisticFixtures::with('home')->with('away')->where('id', (int) $match_id)->first();
|
||||||
|
|
||||||
|
if (! $match) {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
if ($similar_past_matches != 'none') {
|
if ($similar_past_matches != 'none') {
|
||||||
|
|
||||||
$team_position = '';
|
$team_position = '';
|
||||||
|
|||||||
@@ -128,8 +128,6 @@ class LoadEventsQuery
|
|||||||
->orderBy('starttime', 'ASC')
|
->orderBy('starttime', 'ASC')
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
// dd($res);
|
|
||||||
|
|
||||||
$arr = [];
|
$arr = [];
|
||||||
foreach ($res as $value) {
|
foreach ($res as $value) {
|
||||||
$tmp = [];
|
$tmp = [];
|
||||||
|
|||||||
Reference in new issue
Block a user