Use the correct type
[MAILPOET-2535]
This commit is contained in:
committed by
Jack Kitterhing
parent
5e5d4c3ff8
commit
61f0250822
@ -136,7 +136,7 @@ class PostNotificationScheduler {
|
||||
if (!$relation) {
|
||||
$relation = NewsletterOption::create();
|
||||
$relation->newsletter_id = $newsletter->id;
|
||||
$relation->option_field_id = $option_field->id;
|
||||
$relation->option_field_id = (int)$option_field->id;
|
||||
}
|
||||
$relation->value = $schedule;
|
||||
$relation->save();
|
||||
|
Reference in New Issue
Block a user