From 3e2171974de830944130d7213c5fb06e6f802f55 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Mon, 27 Mar 2017 14:24:08 +1100 Subject: [PATCH] Fix team showing as 0 in player statistics total --- includes/class-sp-player.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-sp-player.php b/includes/class-sp-player.php index 02660234..4df27d0d 100644 --- a/includes/class-sp-player.php +++ b/includes/class-sp-player.php @@ -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;