Merge pull request #11933 from inietov/fixes/500_creating_new_user_undefined_variable_item

Fixed Error 500 undefined variable item creating a new user.
This commit is contained in:
snipe 2022-10-06 09:07:18 -07:00 committed by GitHub
commit cd942196cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -358,9 +358,9 @@
<!-- Department -->
@include ('partials.forms.edit.department-select', ['translated_name' => trans('general.department'), 'fieldname' => 'department_id'])
@include ('partials.forms.edit.datepicker', ['translated_name' => trans('general.start_date'), 'fieldname' => 'start_date'])
@include ('partials.forms.edit.datepicker', ['translated_name' => trans('general.start_date'), 'fieldname' => 'start_date', 'item' => $user])
@include ('partials.forms.edit.datepicker', ['translated_name' => trans('general.end_date'), 'fieldname' => 'end_date'])
@include ('partials.forms.edit.datepicker', ['translated_name' => trans('general.end_date'), 'fieldname' => 'end_date', 'item' => $user])
<!-- remote checkbox -->