diff --git a/admin/templates/event-players.php b/admin/templates/event-players.php index b78f0856..a1d4bb1b 100644 --- a/admin/templates/event-players.php +++ b/admin/templates/event-players.php @@ -87,7 +87,12 @@ if ( !function_exists( 'sportspress_event_players' ) ) { if ( $key == 'name' ): continue; endif; - $output .= '' . sportspress_array_value( $row, $key, '—' ) . ''; + if ( array_key_exists( $key, $row ) && $row[ $key ] != '' ): + $value = $row[ $key ]; + else: + $value = 0; + endif; + $output .= '' . $value . ''; endforeach; $output .= '';