Skip to content

Commit

Permalink
Add missing isset()
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroennoten committed Sep 20, 2018
1 parent 1a75823 commit f000001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/partials/menu-item-top-nav.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@if (isset($item['submenu'])) class="dropdown-toggle" data-toggle="dropdown" @endif
@if (isset($item['target'])) target="{{ $item['target'] }}" @endif
>
<i class="fa fa-fw fa-{{ $item['icon'] ? $item['icon'] : 'circle-o' }} {{ isset($item['icon_color']) ? 'text-' . $item['icon_color'] : '' }}"></i>
<i class="fa fa-fw fa-{{ isset($item['icon']) ? $item['icon'] : 'circle-o' }} {{ isset($item['icon_color']) ? 'text-' . $item['icon_color'] : '' }}"></i>
{{ $item['text'] }}
@if (isset($item['label']))
<span class="label label-{{ isset($item['label_color']) ? $item['label_color'] : 'primary' }}">{{ $item['label'] }}</span>
Expand Down

0 comments on commit f000001

Please sign in to comment.