mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Fixed #4787 - don’t try to display category if it is invalid
This shouldn’t be needed, but in case data got weird (manual editing, etc)
This commit is contained in:
parent
e6259eb6e1
commit
254234b0dc
|
@ -39,7 +39,7 @@
|
|||
</div>
|
||||
@endif
|
||||
|
||||
@if ($accessory->category->name)
|
||||
@if ($accessory->category)
|
||||
<!-- accessory name -->
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">{{ trans('admin/accessories/general.accessory_category') }}</label>
|
||||
|
|
Loading…
Reference in a new issue