Fix team showing as 0 in player statistics total

This commit is contained in:
Brian Miyaji
2017-03-27 14:24:08 +11:00
parent 989898f466
commit 3e2171974d

View File

@@ -672,7 +672,7 @@ class SP_Player extends SP_Custom_Post {
// Calculate total statistics
$totals = array(
'name' => __( 'Total', 'sportspress' ),
'team' => 0,
'team' => '-',
);
foreach ( $merged as $season => $stats ):
if ( ! is_array( $stats ) ) continue;