From: Vincent Vanwaelscappel Date: Fri, 6 Oct 2023 09:34:49 +0000 (+0200) Subject: wait #6366 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=907c6632bfcad0e61b8c7491851df6c06b72db24;p=fluidbook-toolbox-quiz.git wait #6366 @0:10 --- 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])