Check empty precision value #197
This commit is contained in:
@@ -550,7 +550,7 @@ class SP_Player_List extends SP_Custom_Post {
|
|||||||
// Apply adjustment
|
// Apply adjustment
|
||||||
if ( $adjustment != 0 ):
|
if ( $adjustment != 0 ):
|
||||||
$placeholder += $adjustment;
|
$placeholder += $adjustment;
|
||||||
$placeholder = number_format( $placeholder, $stat->precision, '.', '' );
|
$placeholder = number_format( $placeholder, $stat->precision ? $stat->precision : 0, '.', '' );
|
||||||
endif;
|
endif;
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user