Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Herman committed Mar 5, 2015
1 parent f0b2313 commit 5924749
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion classes/class.timeline-express.php
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,11 @@ public function timeline_express_initialize_cmb_meta_boxes() {
public function timeline_express_generate_announcement_post_type() {

$this->timeline_express_optionVal = get_option( TIMELINE_EXPRESS_OPTION );
$announcements_public = $this->timeline_express_optionVal['announcement-appear-in-searches'];
if( isset( $this->timeline_express_optionVal['announcement-appear-in-searches'] ) ) {
$announcements_public = $this->timeline_express_optionVal['announcement-appear-in-searches'];
} else {
$announcements_public = 'true';
}

// toggle public search visibility of the announcements
// @since v1.1.5.8
Expand Down

0 comments on commit 5924749

Please sign in to comment.