Fix welcome page mode error, release with 1.1.7

This commit is contained in:
Brian Miyaji
2014-07-04 16:08:03 +10:00
parent 36e092f26d
commit bd41dad9ae
2 changed files with 1 additions and 1 deletions

View File

@@ -185,7 +185,6 @@ class SP_Admin_Welcome {
endif;
if ( isset( $_POST['sportspress_mode'] ) && ! empty( $_POST['sportspress_mode'] ) && get_option( 'sportspress_mode', null ) != $_POST['sportspress_mode'] ):
$sport = $_POST['sportspress_mode'];
SP_Admin_Sports::apply_preset( $sport );
update_option( 'sportspress_mode', $_POST['sportspress_mode'] );
endif;
if ( isset( $_POST['sportspress_default_country'] ) ):