Debugging
This commit is contained in:
@@ -65,7 +65,7 @@ class PagesController extends Controller
|
|||||||
//Iterate over all tipps
|
//Iterate over all tipps
|
||||||
foreach ($tipps as $tipp) {
|
foreach ($tipps as $tipp) {
|
||||||
$score = 0;
|
$score = 0;
|
||||||
$match = $matches->find($tipp->matchid)->get();
|
$match = $matches->find($tipp->matchid)->first();
|
||||||
dd($match);
|
dd($match);
|
||||||
$diffmatch = abs($match->resulta - $match->resultb);
|
$diffmatch = abs($match->resulta - $match->resultb);
|
||||||
$difftipp = abs($tipp->resulta - $tipp->resultb);
|
$difftipp = abs($tipp->resulta - $tipp->resultb);
|
||||||
|
Reference in New Issue
Block a user