From cb46ee1afa518e490b865592389d630931b8ac77 Mon Sep 17 00:00:00 2001 From: Joris Noordermeer Date: Wed, 16 Aug 2023 22:00:35 +0700 Subject: [PATCH] Update layout.blade.php (#48080) --- src/Illuminate/Mail/resources/views/text/layout.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Mail/resources/views/text/layout.blade.php b/src/Illuminate/Mail/resources/views/text/layout.blade.php index 9378baa0771b..ec58e83c9122 100644 --- a/src/Illuminate/Mail/resources/views/text/layout.blade.php +++ b/src/Illuminate/Mail/resources/views/text/layout.blade.php @@ -1,4 +1,4 @@ -{!! strip_tags($header) !!} +{!! strip_tags($header ?? '') !!} {!! strip_tags($slot) !!} @isset($subcopy) @@ -6,4 +6,4 @@ {!! strip_tags($subcopy) !!} @endisset -{!! strip_tags($footer) !!} +{!! strip_tags($footer ?? '') !!}