From 65a65b8caa5fd90f10bc30ca9004d4694fb85c1f Mon Sep 17 00:00:00 2001 From: structix Date: Sat, 2 Jun 2018 01:42:15 +0200 Subject: [PATCH] Fixed --- tippspiel/resources/views/dashboard.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tippspiel/resources/views/dashboard.blade.php b/tippspiel/resources/views/dashboard.blade.php index b66baf8..f32babe 100644 --- a/tippspiel/resources/views/dashboard.blade.php +++ b/tippspiel/resources/views/dashboard.blade.php @@ -40,9 +40,9 @@ {!! $teams->find($match->teamb)->name !!} {!! $match->resulta . ':' . $match->resultb !!} - {!! $tipps->where('matchid', 1)->pluck('resulta')->first() . ':' . $tipps->where('matchid', 1)->pluck('resulta')->first() !!} + {!! $tipps->where('matchid', 1)->first()->resulta . ':' . $tipps->where('matchid', 1)->first()->resultb !!} - @if($tipps->where('matchid', $match->id)->first()->resulta != null) + @if($tipps->where('matchid', $match->id)->first()->resulta == null) {!! Form::model($match, ['method' => 'GET', 'action' => ['PagesController@createTipp', $match->id], 'style' => 'display:inline-block;']) !!}