From c05ea7c2fd628def7ccbe1d423fbdd77cf2ccf3b Mon Sep 17 00:00:00 2001 From: Thomas Sjolshagen Date: Tue, 29 Dec 2015 20:20:54 -0500 Subject: [PATCH] Enh: Didn't have a default notification type (single post per alert) --- classes/tools/class-cron.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/tools/class-cron.php b/classes/tools/class-cron.php index 6a69ea9..59a2f2a 100644 --- a/classes/tools/class-cron.php +++ b/classes/tools/class-cron.php @@ -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}");