A free open source IT asset/license management system
Fixed user reference
snipe795f21bc649e
diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.phpindex fa994903ef..9d7ed7cfd3 100755--- a/resources/views/users/edit.blade.php+++ b/resources/views/users/edit.blade.php@@ -305,7 +305,7 @@@endif- <x-input.image-upload :item="$item" fieldname="avatar" :imagePath="app('users_upload_path')" :clonedModel="$cloned_model ?? null" />+ <x-input.image-upload :item="$user" fieldname="avatar" :imagePath="app('users_upload_path')" :clonedModel="$cloned_model ?? null" /><!-- begin optional disclosure arrow stuff -->@@ -458,7 +458,7 @@<!-- Manager -->- @include ('partials.forms.edit.user-select', ['translated_name' => trans('admin/users/table.manager'), 'fieldname' => 'manager_id', 'exclude_id' => isset($item) ? $item->id : null])+ @include ('partials.forms.edit.user-select', ['translated_name' => trans('admin/users/table.manager'), 'fieldname' => 'manager_id', 'exclude_id' => $user->id ?? null])<!-- Department -->@include ('partials.forms.edit.department-select', ['translated_name' => trans('general.department'), 'fieldname' => 'department_id'])