Retype to use the correct type

[MAILPOET-2716]
This commit is contained in:
Pavel Dohnal
2020-04-22 11:06:07 +02:00
committed by Veljko V
parent 96199cc586
commit 0b0abea3bb

View File

@ -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();