Fix number formatting for decimals, tag 1.2.6
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* The SportsPress league table class handles individual league table data.
|
||||
*
|
||||
* @class SP_League_Table
|
||||
* @version 1.2.5
|
||||
* @version 1.2.6
|
||||
* @package SportsPress/Classes
|
||||
* @category Class
|
||||
* @author ThemeBoy
|
||||
@@ -274,7 +274,7 @@ class SP_League_Table extends SP_Custom_Post{
|
||||
|
||||
if ( $adjustment != 0 ):
|
||||
$placeholder += sp_array_value( $adjustment, $stat->post_name, 0 );
|
||||
$placeholder = number_format( $placeholder, $stat->precision, '', '' );
|
||||
$placeholder = number_format( $placeholder, $stat->precision, '.', '' );
|
||||
endif;
|
||||
endif;
|
||||
endif;
|
||||
|
||||
Reference in New Issue
Block a user