From 309f1027451c62196fb35888368746cb3033ef67 Mon Sep 17 00:00:00 2001 From: Ivan Nieto Date: Thu, 27 Sep 2018 00:33:34 -0500 Subject: [PATCH] Weird syntax in layout.blade.php. Change the use of 'or' operator to the null coalesce operator (#6240) --- resources/views/vendor/mail/html/layout.blade.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/views/vendor/mail/html/layout.blade.php b/resources/views/vendor/mail/html/layout.blade.php index b2af14ec2..4c537ac38 100644 --- a/resources/views/vendor/mail/html/layout.blade.php +++ b/resources/views/vendor/mail/html/layout.blade.php @@ -31,7 +31,7 @@ - {{ $header or '' }} + {{ $header ?? '' }} @@ -42,14 +42,14 @@
{{ Illuminate\Mail\Markdown::parse($slot) }} - {{ $subcopy or '' }} + {{ $subcopy ?? '' }}
- {{ $footer or '' }} + {{ $footer ?? '' }} @@ -57,3 +57,4 @@ + \ No newline at end of file