Skip to content

Commit

Permalink
[BF] ports is undefined if not set for all member types
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Jan 24, 2022
1 parent 5f7b338 commit 4a590c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/skins/inex/content/members/0/list.foil.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
$data[ $c->id ][ 'name' ] = $c->name;
$data[ $c->id ][ 'numberofports' ] = 0;
$data[ $c->id ][ 'joined' ] = \Carbon\Carbon::parse( $c->datejoin )->format( 'Y-m-d' );
$data[ $c->id ][ 'ports' ] = '';

if( $l = $c->logo ) {
$data[ $c->id ][ 'logo' ] = url( '' ) . '/logos/' . $l->shardedPath();
Expand All @@ -26,7 +27,6 @@
$data[ $c->id ][ 'routeserver' ] = 'No';
$data[ $c->id ][ 'ipv4' ] = 'No';
$data[ $c->id ][ 'ipv6' ] = 'No';
$data[ $c->id ][ 'ports' ] = '';
}

$first = true;
Expand Down

0 comments on commit 4a590c6

Please sign in to comment.