From 53cacd9b59565be9650e96a2a5bad53e31dfb05f Mon Sep 17 00:00:00 2001 From: structix Date: Sat, 2 Jun 2018 01:48:37 +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 f157e40..971c8cb 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 !!} - {!! ($temp1 = $tipps->where('matchid', 1)->pluck('resulta')->first()) ? $temp1 : '-' . ':' . ($temp2 = $tipps->where('matchid', 1)->pluck('resultb')->first()) ? $temp2 : '-' !!} + {!! $tipps->where('matchid', 1)->pluck('resulta')->first()) . ':' . $tipps->where('matchid', 1)->pluck('resultb')->first()) !!} @if($tipps->where('matchid', $match->id)->pluck('resulta')->first() == null)