Fix call to static function
This commit is contained in:
@@ -69,7 +69,7 @@ class PagesController extends Controller
|
|||||||
$diffmatch = abs($match->resulta - $match->resultb);
|
$diffmatch = abs($match->resulta - $match->resultb);
|
||||||
$difftipp = abs($tipp->resulta - $tipp->resultb);
|
$difftipp = abs($tipp->resulta - $tipp->resultb);
|
||||||
|
|
||||||
if (winTeam($tipp->resulta, $tipp->resultb) == winTeam($match->resulta, $match->resultb)) {
|
if (Tipp::winTeam($tipp->resulta, $tipp->resultb) == Tipp::winTeam($match->resulta, $match->resultb)) {
|
||||||
$score = 2;
|
$score = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user