wip fix error box 3
This commit is contained in:
1 parent
2728944c39
commit
e52722d3e1
9 files changed
+455
-119
No files matched your search
@@ -94,7 +94,8 @@ class LoadEventsQueryAll
|
||||
})
|
||||
->where(function ($query) use ($match, $similar_past_matches) {
|
||||
if ($similar_past_matches == 'none') {
|
||||
return $query->orWhere('home_id', '=', $match->home_id)
|
||||
return $query
|
||||
->where('home_id', $match->home_id)
|
||||
->orWhere('home_id', '=', $match->away_id)
|
||||
->orWhere('away_id', '=', $match->home_id)
|
||||
->orWhere('away_id', '=', $match->away_id);
|
||||
|
||||
Reference in new issue
Block a user