mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Ensure that when template content is being parsed by Email::parseVariables(), template path comments don't show
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75920 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
897d4f193a
commit
db6f71a800
@ -332,6 +332,8 @@ class Email extends ViewableData {
|
||||
* and it won't be plain email :)
|
||||
*/
|
||||
protected function parseVariables($isPlain = false) {
|
||||
SSViewer::set_source_file_comments(false);
|
||||
|
||||
if(!$this->parseVariables_done) {
|
||||
$this->parseVariables_done = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user