From 342087cdd04dac628a4b4086e6795acaf9eb3919 Mon Sep 17 00:00:00 2001 From: structix Date: Sat, 2 Jun 2018 01:44:43 +0200 Subject: [PATCH] Fix --- tippspiel/resources/views/dashboard.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tippspiel/resources/views/dashboard.blade.php b/tippspiel/resources/views/dashboard.blade.php index f32babe..762fb28 100644 --- a/tippspiel/resources/views/dashboard.blade.php +++ b/tippspiel/resources/views/dashboard.blade.php @@ -40,7 +40,7 @@ {!! $teams->find($match->teamb)->name !!} {!! $match->resulta . ':' . $match->resultb !!} - {!! $tipps->where('matchid', 1)->first()->resulta . ':' . $tipps->where('matchid', 1)->first()->resultb !!} + {!! $tipps->where('matchid', 1)->pluck('resulta')->first() . ':' . $tipps->where('matchid', 1)->first()->resultb !!} @if($tipps->where('matchid', $match->id)->first()->resulta == null)