diff --git a/templates/player-statistics.php b/templates/player-statistics.php index 060ae606..d48f0e1b 100644 --- a/templates/player-statistics.php +++ b/templates/player-statistics.php @@ -39,14 +39,16 @@ if ( is_array( $leagues ) ): if ( -1 !== $section_id && ! in_array( $section_id, $player_sections ) ) continue; foreach ( $leagues as $league ): + $caption = $league->name; + if ( null !== $section_label ) { if ( sizeof( $leagues ) > 1 ) { printf( '