Switched from fullName() to getFullNameAttribute()

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-08-21 20:14:07 +01:00
parent c617bf89b6
commit 36a343365e
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
{{-- Page title --}}
@section('title')
{{ trans('general.hello_name', array('name' => $user->present()->fullName())) }}
{{ trans('general.hello_name', array('name' => $user->present()->getFullNameAttribute())) }}
@parent
@stop

View file

@ -328,7 +328,7 @@
<i class="fas fa-users" aria-hidden="true"></i>
@endif
<span class="hidden-xs">{{ Auth::user()->first_name }} <strong
<span class="hidden-xs">{{ Auth::user()->getFullNameAttribute() }} <strong
class="caret"></strong></span>
</a>
<ul class="dropdown-menu">