Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 037b0d7

Browse files
committed
route changes
1 parent cbbc418 commit 037b0d7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

resources/skins/edgeix/services/lg/route.foil.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
1111
</div>
1212
<div class="modal-body">
13-
<?php if( isset( $t->content ) && isset( $t->content->routes ) ): ?>
14-
<?php foreach( $t->content->routes as $r ): ?>
13+
<?php $content = $t->content ?? null; ?>
14+
<?php if( $content && isset( $content->routes ) ): ?>
15+
<?php foreach( $content->routes as $r ): ?>
1516
<table class="table table-striped text-monospace" style="font-size: 14px;">
1617
<tbody>
1718
<tr>

0 commit comments

Comments
 (0)