From 907c6632bfcad0e61b8c7491851df6c06b72db24 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 6 Oct 2023 11:34:49 +0200 Subject: [PATCH] wait #6366 @0:10 --- views/index.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/index.blade.php b/views/index.blade.php index baafcda..cb5f5ac 100644 --- a/views/index.blade.php +++ b/views/index.blade.php @@ -20,8 +20,8 @@ @include('components.background',['data'=>$data,'name'=>'background','fit'=>'cover']) @include('screens.intro', ['data'=> $data]) @foreach($data->questions as $key => $question) - @php($coundown_enabled = $question["countdown_enable"]) - @include('screens.question_'.$question['type'], ['theme' => $data->theme,'data'=> $data, 'question' => $question, 'max' => $totalQuestion, 'position' => $key, 'alphabet' => $alphabet, 'countdown' => $coundown_enabled]) + + @include('screens.question_'.$question['type'], ['theme' => $data->theme,'data'=> $data, 'question' => $question, 'max' => $totalQuestion, 'position' => $key, 'alphabet' => $alphabet, 'countdown' => isset($question['countdown_enable']) && $question["countdown_enable"]]) @endforeach @include('screens.outro', ['data'=> $data])
-- 2.39.5