Revert "[TwigBundle] fixed error messages when an error occurs during template compilation"
This reverts commit c68b326665
.
This commit is contained in:
parent
099b9dee1f
commit
7cb42d2a68
@ -131,6 +131,6 @@ class TwigEngine implements EngineInterface
|
||||
return $name;
|
||||
}
|
||||
|
||||
return $this->environment->loadTemplate($this->parser->parse($name), is_array($name) ? json_encode($name) : $name);
|
||||
return $this->environment->loadTemplate($this->parser->parse($name));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user