From 7bc729dfd17f784ab275eeb31215f690f2f71ca0 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Sun, 27 Nov 2016 17:00:01 +1100 Subject: [PATCH] Fix player list precision number format error --- includes/class-sp-player-list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-sp-player-list.php b/includes/class-sp-player-list.php index 18b42af4..2608dcbe 100644 --- a/includes/class-sp-player-list.php +++ b/includes/class-sp-player-list.php @@ -466,7 +466,7 @@ class SP_Player_List extends SP_Custom_Post { endif; // Add precision to object - $stat->precision = sp_array_value( sp_array_value( $meta, 'sp_precision', array() ), 0, 0 ); + $stat->precision = sp_array_value( sp_array_value( $meta, 'sp_precision', array() ), 0, 0 ) + 0; // Add column name to columns $columns[ $stat->post_name ] = $stat->post_title;