Check if sport exists in welcome page

This commit is contained in:
Brian Miyaji
2016-04-13 21:36:17 +10:00
parent 07235517e1
commit 99c29a0766

View File

@@ -173,7 +173,7 @@ class SP_Admin_Welcome {
?>
<div class="sp-feature feature-section col two-col">
<div>
<?php if ( get_option( 'sportspress_basic_setup' ) ) { ?>
<?php if ( false !== get_option( 'sportspress_sport' ) ) { ?>
<h4><?php _e( 'Sport', 'sportspress' ); ?></h4>
<?php
$sport = get_option( 'sportspress_sport' );