Skip to content

Commit ea749f3

Browse files
authored
PHP8: fix newsletter preview (#4769)
1 parent 0262423 commit ea749f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/core/Mage/Newsletter/Model/Template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public function getTemplateTextPreprocessed()
175175
$this->setTemplateTextPreprocessed($this->getProcessedTemplate());
176176
}
177177

178-
return $this->getData('template_text_preprocessed');
178+
return (string) $this->getData('template_text_preprocessed');
179179
}
180180

181181
/**

0 commit comments

Comments
 (0)