Fix typo in full time option defaulting to 90

This commit is contained in:
Brian Miyaji
2017-04-05 14:44:12 +10:00
parent f672b405dc
commit 1190535f74

View File

@@ -48,7 +48,7 @@ if ( 'yes' === get_option( 'sportspress_event_show_day', 'yes' ) ) {
if ( 'yes' === get_option( 'sportspress_event_show_full_time', 'yes' ) ) {
$full_time = get_post_meta( $id, 'sp_minutes', true );
if ( '' === $full_time ) {
$full_time = get_option( 'sportspress_minutes', 90 );
$full_time = get_option( 'sportspress_event_minutes', 90 );
}
$data[ __( 'Full Time', 'sportspress' ) ] = $full_time . '\'';
}