wip
This commit is contained in:
1 parent
a01736603b
commit
07e4a75ec3
1 file changed
+1
-1
@@ -61,7 +61,7 @@ class LoadEvents
|
||||
*/
|
||||
$handicap_range = 0;
|
||||
$total_range = 0;
|
||||
if ($similar_past_matches != 'none') {
|
||||
if ($similar_past_matches != 'none' && $res) {
|
||||
$res = StatisticFixtures::where('id', (int) $match_id)->first();
|
||||
|
||||
$exp_handicap = $res->exp_away - $res->exp_home;
|
||||
|
||||
Reference in new issue
Block a user