Fix player list precision number format error
This commit is contained in:
@@ -466,7 +466,7 @@ class SP_Player_List extends SP_Custom_Post {
|
|||||||
endif;
|
endif;
|
||||||
|
|
||||||
// Add precision to object
|
// 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
|
// Add column name to columns
|
||||||
$columns[ $stat->post_name ] = $stat->post_title;
|
$columns[ $stat->post_name ] = $stat->post_title;
|
||||||
|
|||||||
Reference in New Issue
Block a user