diff --git a/resources/views/accessories/checkout.blade.php b/resources/views/accessories/checkout.blade.php index 09b13221ef..64be4600a6 100755 --- a/resources/views/accessories/checkout.blade.php +++ b/resources/views/accessories/checkout.blade.php @@ -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'))
{{ trans('admin/categories/general.required_acceptance') }}