]> _ Git - psq.git/commitdiff
Update index.blade.php
authorLouis Jeckel <louis.jeckel@outlook.cm>
Thu, 27 Aug 2020 10:12:08 +0000 (12:12 +0200)
committerLouis Jeckel <louis.jeckel@outlook.cm>
Thu, 27 Aug 2020 10:12:08 +0000 (12:12 +0200)
resources/views/home/index.blade.php

index ab721c35b62479971321bf6e299a38ea0cfc5ba8..3dd58a61ff3960e01e459d1ef08b2bd1cc989ec8 100644 (file)
@@ -39,7 +39,7 @@
             <x-cover :pdf="$last_pdf->first()" type="3">
             </x-cover>
 
-            @foreach($last_pdf->first()->headlines as $headline)
+            @foreach($last_pdf->first()->headlines ?? [] as $headline)
 
                 <x-headline :headline="$headline" class="mt-3">
                 </x-headline>