Skip to content

Commit

Permalink
fixes undefined index in the footer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Jan 12, 2015
1 parent 20d42b0 commit 0e46eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="spacer-10"></div>
<?php wp_nav_menu( array( 'container' => 'nav', 'container_class' => 'footernav', 'theme_location' => 'footer', 'fallback_cb' => false, 'depth' => 1 ) ); ?>
<div class="credit">
<?php if ( $ap_options['footer'] != '' ) {
<?php if ( isset( $ap_options['footer'] ) && $ap_options['footer'] != '' ) {
echo wp_kses_post( stripcslashes( $ap_options['footer'] ) );
} else {
echo wp_kses_post( $ap_defaults['footer'] );
Expand Down

0 comments on commit 0e46eb3

Please sign in to comment.