Parcourir la source

[FrameworkBundle] fixed missing variable

Fabien Potencier il y a 14 ans
Parent
commit
ac880f26a8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/Templating/Engine.php

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Templating/Engine.php

@@ -43,7 +43,7 @@ class Engine extends BaseEngine
         $this->container = $container;
         $this->escaper = $escaper;
 
-        parent::__construct($loader);
+        parent::__construct($loader, $renderers);
 
         foreach ($this->container->findTaggedServiceIds('templating.renderer') as $id => $attributes) {
             if (isset($attributes[0]['alias'])) {