fixed typo
authorFabien Potencier <fabien.potencier@gmail.com>
Tue, 14 Dec 2010 07:18:33 +0000 (08:18 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Tue, 14 Dec 2010 07:18:33 +0000 (08:18 +0100)
lib/Twig/Environment.php

index 7c98404..b1686ac 100644 (file)
@@ -99,7 +99,7 @@ class Twig_Environment
         $this->autoReload         = null === $options['auto_reload'] ? $this->debug : (bool) $options['auto_reload'];
         $this->extensions         = array(
             'core'      => new Twig_Extension_Core(),
-            'escaper'   => new Twig_Extension_Escaper(array('autoescape' => (bool) $options['autoescape'])),
+            'escaper'   => new Twig_Extension_Escaper((bool) $options['autoescape']),
             'optimizer' => new Twig_Extension_Optimizer(),
         );
         $this->strictVariables    = (bool) $options['strict_variables'];