Fix league table error in PHP < 5.5
This commit is contained in:
@@ -559,7 +559,7 @@ if ( !function_exists( 'sp_get_post_mode_label' ) ) {
|
||||
$mode = 'team';
|
||||
}
|
||||
|
||||
$index = boolval( $singular );
|
||||
$index = intval( $singular );
|
||||
|
||||
return $labels[ $mode ][ $index ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user