Retype to use the correct type
[MAILPOET-2716]
This commit is contained in:
@ -73,13 +73,13 @@ class SendingQueue extends Model {
|
||||
if (!Helpers::isJson($this->newsletterRenderedBody) && !is_null($this->newsletterRenderedBody)) {
|
||||
$this->set(
|
||||
'newsletter_rendered_body',
|
||||
json_encode($this->newsletterRenderedBody)
|
||||
(string)json_encode($this->newsletterRenderedBody)
|
||||
);
|
||||
}
|
||||
if (!is_null($this->meta) && !Helpers::isJson($this->meta)) {
|
||||
$this->set(
|
||||
'meta',
|
||||
json_encode($this->meta)
|
||||
(string)json_encode($this->meta)
|
||||
);
|
||||
}
|
||||
parent::save();
|
||||
|
Reference in New Issue
Block a user