Skip to content

Commit

Permalink
Fixed mac address not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Feb 13, 2015
1 parent bd01b11 commit 4a50072
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/backend/hardware/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@
</div>
</div>

@if (isset($asset->model)) && ($asset->model->show_mac_address != 0)

@if ($asset->model && $asset->model->show_mac_address == '1')
<!-- MAC Address -->
<div class="form-group {{ $errors->has('mac_address') ? ' has-error' : '' }}">
<label for="mac_address" class="col-md-2 control-label">@lang('admin/hardware/form.mac_address')</label>
Expand Down

0 comments on commit 4a50072

Please sign in to comment.