Fixed #6082 - don’t show expected checkin in email if none given

This commit is contained in:
snipe 2018-08-16 14:30:06 -07:00
parent aed769c0be
commit f6971b8ab2

View file

@ -29,7 +29,7 @@
@if (isset($last_checkout))
| **{{ trans('mail.checkout_date') }}** | {{ $last_checkout }} |
@endif
@if (isset($expected_checkin))
@if ((isset($expected_checkin)) && ($expected_checkin!=''))
| **{{ trans('mail.expecting_checkin_date') }}** | {{ $expected_checkin }} |
@endif
@foreach($fields as $field)