From 13542154c3248dc918ab32767afdaee4ed87ee7e Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Thu, 18 Oct 2018 10:57:59 +1100 Subject: [PATCH] Display hyphen instead of blank team --- templates/player-list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/player-list.php b/templates/player-list.php index c0b23923..3195a8e5 100644 --- a/templates/player-list.php +++ b/templates/player-list.php @@ -194,7 +194,7 @@ foreach ( $groups as $group ): if ( array_key_exists( 'team', $labels ) ): $team = sp_array_value( $row, 'team', get_post_meta( $id, 'sp_current_team', true ) ); - $team_name = $team ? sp_team_short_name( $team ) : ''; + $team_name = $team ? sp_team_short_name( $team ) : '-'; if ( $link_teams && false !== get_post_status( $team ) ): $team_name = '' . $team_name . ''; endif;