Skip to content

Commit d6cba47

Browse files
author
Martijn Swinkels
committed
Ensure string is returned when applying filter to email template
1 parent 0d3d7bb commit d6cba47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Email/Model/Template/Filter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,6 +1090,6 @@ public function filter($value)
10901090
}
10911091
$this->_logger->critical($e);
10921092
}
1093-
return $value;
1093+
return (string) $value;
10941094
}
10951095
}

0 commit comments

Comments
 (0)