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)) {
|
if (!Helpers::isJson($this->newsletterRenderedBody) && !is_null($this->newsletterRenderedBody)) {
|
||||||
$this->set(
|
$this->set(
|
||||||
'newsletter_rendered_body',
|
'newsletter_rendered_body',
|
||||||
json_encode($this->newsletterRenderedBody)
|
(string)json_encode($this->newsletterRenderedBody)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (!is_null($this->meta) && !Helpers::isJson($this->meta)) {
|
if (!is_null($this->meta) && !Helpers::isJson($this->meta)) {
|
||||||
$this->set(
|
$this->set(
|
||||||
'meta',
|
'meta',
|
||||||
json_encode($this->meta)
|
(string)json_encode($this->meta)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
parent::save();
|
parent::save();
|
||||||
|
Reference in New Issue
Block a user