diff --git a/lib/Router/SendingQueue.php b/lib/Router/SendingQueue.php index e414d3e34f..f9024a82dc 100644 --- a/lib/Router/SendingQueue.php +++ b/lib/Router/SendingQueue.php @@ -54,6 +54,7 @@ class SendingQueue { ->where('newsletter_type', 'notification') ->findOne(); $relation = NewsletterOption::where('option_field_id', $option_field->id) + ->where('newsletter_id', $newsletter->id) ->findOne(); if(!$relation) { $relation = NewsletterOption::create();