mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 15:42:31 -05:00
Use "??" instead of "or" to fall back on a default value as this is now what laravel expects
This commit is contained in:
parent
83e6ee060f
commit
717a09118f
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
<label class="col-12 col-md-4 col-form-label">E-Mail Address</label>
|
||||
|
||||
<div class="col-12 col-md-6">
|
||||
<input class="form-control" type="email" name="email" value="{{ $email or old('email') }}" />
|
||||
<input class="form-control" type="email" name="email" value="{{ $email ?? old('email') }}" />
|
||||
|
||||
@if ($errors->has('email'))
|
||||
<span class="text-muted">
|
||||
|
|
Loading…
Reference in a new issue