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)