Fix type
This commit is contained in:
@@ -20,7 +20,7 @@ class SP_Meta_Box_Player_Statistics {
|
||||
*/
|
||||
public static function output( $post ) {
|
||||
$player = new SP_Player( $post );
|
||||
$leagues = $player->get_terms_sorted_by_sp_order( 'sp_0' );
|
||||
$leagues = $player->get_terms_sorted_by_sp_order( 'sp_league' );
|
||||
$league_num = sizeof( $leagues );
|
||||
$sections = get_option( 'sportspress_player_performance_sections', -1 );
|
||||
$show_career_totals = 'yes' === get_option( 'sportspress_player_show_career_total', 'no' ) ? true : false;
|
||||
|
||||
Reference in New Issue
Block a user