Skip to content

Commit

Permalink
fixes undefined index on line 11 in header.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Jan 12, 2015
1 parent 62b46ac commit 5208320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<?php $options = get_option( 'ap_core_theme_options' ); ?>
<?php
$ap_core_headerimg = null;
if ( $options['site-title'] == false ) {
if ( !isset( $options['site-title'] ) || $options['site-title'] == false ) {
$ap_core_headerimg_before = '<a href="' . esc_url( home_url() ) . '" title="' . get_bloginfo('title') . '">';
$ap_core_headerimg_after = '</a>';
} else {
Expand Down

0 comments on commit 5208320

Please sign in to comment.