From 24e2a4407acc9f842a98808268bb037d24151ba6 Mon Sep 17 00:00:00 2001 From: structix Date: Wed, 6 Jun 2018 21:35:21 +0200 Subject: [PATCH] Typo fix --- tippspiel/app/Http/Controllers/PagesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tippspiel/app/Http/Controllers/PagesController.php b/tippspiel/app/Http/Controllers/PagesController.php index 23fe6e8..0e2cb6c 100644 --- a/tippspiel/app/Http/Controllers/PagesController.php +++ b/tippspiel/app/Http/Controllers/PagesController.php @@ -66,7 +66,7 @@ class PagesController extends Controller foreach ($tipps as $tipp) { $score = 0; $match = $matches->find($tipp->matchid)->get(); - $diffmatch = abs($match->resualta - $match->resultb); + $diffmatch = abs($match->resulta - $match->resultb); $difftipp = abs($tipp->resulta - $tipp->resultb); if (winTeam($tipp->resulta, $tipp->resultb) == winTeam($match->resulta, $match->resultb)) {