Fix typo in full time option defaulting to 90
This commit is contained in:
@@ -48,7 +48,7 @@ if ( 'yes' === get_option( 'sportspress_event_show_day', 'yes' ) ) {
|
|||||||
if ( 'yes' === get_option( 'sportspress_event_show_full_time', 'yes' ) ) {
|
if ( 'yes' === get_option( 'sportspress_event_show_full_time', 'yes' ) ) {
|
||||||
$full_time = get_post_meta( $id, 'sp_minutes', true );
|
$full_time = get_post_meta( $id, 'sp_minutes', true );
|
||||||
if ( '' === $full_time ) {
|
if ( '' === $full_time ) {
|
||||||
$full_time = get_option( 'sportspress_minutes', 90 );
|
$full_time = get_option( 'sportspress_event_minutes', 90 );
|
||||||
}
|
}
|
||||||
$data[ __( 'Full Time', 'sportspress' ) ] = $full_time . '\'';
|
$data[ __( 'Full Time', 'sportspress' ) ] = $full_time . '\'';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user