We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49f25a2 commit 58ff929Copy full SHA for 58ff929
app/views/backend/hardware/edit.blade.php
@@ -90,7 +90,7 @@
90
</div>
91
92
93
- @if ($asset->model->show_mac_address != 0)
+ @if (isset($asset->model)) && ($asset->model->show_mac_address != 0)
94
<!-- MAC Address -->
95
<div class="form-group {{ $errors->has('mac_address') ? ' has-error' : '' }}">
96
<label for="mac_address" class="col-md-2 control-label">@lang('admin/hardware/form.mac_address')</label>
0 commit comments