Fix call to static function

This commit is contained in:
2018-06-06 21:38:31 +02:00
parent 0f14ac791e
commit c48b010c09

View File

@@ -69,7 +69,7 @@ class PagesController extends Controller
$diffmatch = abs($match->resulta - $match->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;
}