Merge pull request #12758 from inietov/fixes/call_to_member_function_present_null

Fixed Call to a member function present() on null [sc-20594]
This commit is contained in:
snipe 2023-03-30 11:01:38 -07:00 committed by GitHub
commit b7c09042b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
{{-- Page title --}}
@section('title')
{{ trans('general.accept_assets', array('name' => $user->present()->fullName())) }}
{{ trans('general.accept_assets', array('name' => empty($user) ? '' : $user->present()->full_name)) }}
@parent
@stop