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
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if ($accessory->category->name)
|
@if ($accessory->category)
|
||||||
<!-- accessory name -->
|
<!-- accessory name -->
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-3 control-label">{{ trans('admin/accessories/general.accessory_category') }}</label>
|
<label class="col-sm-3 control-label">{{ trans('admin/accessories/general.accessory_category') }}</label>
|
||||||
|
|
Loading…
Add table
Reference in a new issue