Skip to content

Commit

Permalink
--fix print Pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
Linhnv1902 committed Jun 28, 2022
1 parent d157869 commit bebad84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Template/Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function processTemplate()
$this->setUseAbsoluteLinks(true);
$html = $processor->setStoreId($storeId)
->setDesignParams([0])
->filter(__($this->getTemplateHtml()));
->filter((string)__($this->getTemplateHtml()));

if ($isDesignApplied) {
$this->cancelDesignConfig();
Expand Down

0 comments on commit bebad84

Please sign in to comment.