mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Check for valid category before checking acceptance
This commit is contained in:
parent
a9ffe8d210
commit
782813ab49
|
@ -53,7 +53,7 @@
|
|||
|
||||
@include ('partials.forms.edit.user-select', ['translated_name' => trans('general.select_user'), 'fieldname' => 'assigned_to'])
|
||||
|
||||
@if ($accessory->category->require_acceptance=='1')
|
||||
@if (($accessory->category) && ($accessory->category->require_acceptance=='1'))
|
||||
<div class="form-group">
|
||||
<div class="col-md-9 col-md-offset-3">
|
||||
<p class="hint-block">{{ trans('admin/categories/general.required_acceptance') }}</p>
|
||||
|
|
Loading…
Reference in a new issue