mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Weird syntax in layout.blade.php. Change the use of 'or' operator to the null coalesce operator (#6240)
This commit is contained in:
parent
16e56646b8
commit
309f102745
|
@ -31,7 +31,7 @@
|
|||
<tr>
|
||||
<td align="center">
|
||||
<table class="content" width="100%" cellpadding="0" cellspacing="0">
|
||||
{{ $header or '' }}
|
||||
{{ $header ?? '' }}
|
||||
|
||||
<!-- Email Body -->
|
||||
<tr>
|
||||
|
@ -42,14 +42,14 @@
|
|||
<td class="content-cell">
|
||||
{{ Illuminate\Mail\Markdown::parse($slot) }}
|
||||
|
||||
{{ $subcopy or '' }}
|
||||
{{ $subcopy ?? '' }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{{ $footer or '' }}
|
||||
{{ $footer ?? '' }}
|
||||
|
||||
</table>
|
||||
</td>
|
||||
|
@ -57,3 +57,4 @@
|
|||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in a new issue