[TwigBundle] fixed inheritance in TimedTwigEngine
This commit is contained in:
parent
9920289cbc
commit
b957515a17
@ -47,7 +47,7 @@ class TimedTwigEngine extends TwigEngine
|
||||
{
|
||||
$e = $this->stopwatch->start(sprintf('template.twig (%s)', $name), 'template');
|
||||
|
||||
$ret = $this->load($name)->render($parameters);
|
||||
$ret = parent::render($name, $parameters);
|
||||
|
||||
$e->stop();
|
||||
|
||||
|
Reference in New Issue
Block a user