This commit is contained in:
salam committed 2026-10-10 22:24:13 +02:00
1 parent c2f068e8bf
commit 436a8ec142
8 files changed
+158 -86

No files matched your search

@@ -79,7 +79,6 @@ class LoadEventsQueryAll
}
}
// dd($handicap_range, $total_range);
/**
* STATTISTIC DATA
*/
@@ -95,7 +94,7 @@ class LoadEventsQueryAll
})
->where(function ($query) use ($match, $similar_past_matches) {
if ($similar_past_matches == 'none') {
return $query->where('home_id', '=', $match->home_id)
return $query->orWhere('home_id', '=', $match->home_id)
->orWhere('home_id', '=', $match->away_id)
->orWhere('away_id', '=', $match->home_id)
->orWhere('away_id', '=', $match->away_id);