Skip to content

Commit

Permalink
Enh: Didn't have a default notification type (single post per alert)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjolshagen committed Dec 30, 2015
1 parent 9c6d6eb commit c05ea7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/tools/class-cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,9 @@ public static function check_for_new_content($sequence_id = null)
}

// $posts = $sequence->get_postDetails( $post->id );
$sequence->dbg_log("cron() - sendNoticeAs option is currently: {$sequence->options->noticeSendAs}");

if (E20R_SEQ_SEND_AS_SINGLE == $sequence->options->noticeSendAs) {
if (empty($sequence->options->noticeSendAs) || E20R_SEQ_SEND_AS_SINGLE == $sequence->options->noticeSendAs) {

$sequence->dbg_log("cron() - Processing " . count($posts) . " individual messages to send to {$s->user_id}");

Expand Down

0 comments on commit c05ea7c

Please sign in to comment.