Updated empty checks on misc and dns index

Updated empty checks on misc and dns index
This commit is contained in:
cp6 2022-03-03 11:53:42 +11:00
parent 35eb6baa10
commit fbcf8d66de
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
</tr>
</thead>
<tbody>
@if(!empty($dn))
@if(!empty($dn[0]))
@foreach($dn as $dns)
<tr>
<td class="text-nowrap">{{ $dns->dns_type}}</td>

View File

@ -24,7 +24,7 @@
</tr>
</thead>
<tbody>
@if(!empty($misc))
@if(!empty($misc[0]))
@foreach($misc as $m)
<tr>
<td class="text-nowrap">{{$m->name}}</td>