From 4a590c606038c8c6e1bec82d4b447ad738b4fe06 Mon Sep 17 00:00:00 2001 From: Barry O'Donovan Date: Mon, 24 Jan 2022 11:14:24 +0000 Subject: [PATCH] [BF] ports is undefined if not set for all member types --- resources/skins/inex/content/members/0/list.foil.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/skins/inex/content/members/0/list.foil.php b/resources/skins/inex/content/members/0/list.foil.php index ec6d43984..2fa5efeba 100644 --- a/resources/skins/inex/content/members/0/list.foil.php +++ b/resources/skins/inex/content/members/0/list.foil.php @@ -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(); @@ -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;